If I have a branch, and rebase that branch on master, then it correctly produces a new set of commits following on from the tip of master. But it also has a "merge commit" which links back to the original branch.
Why is that merge commit necessary? Why not just have the new set of commits, rather than keeping the old ones around?
Here is some info on merge vs rebase which might be of help - https://www.atlassian.com/git/tutorials/merging-vs-rebasing
And the official rebase documentation of git - https://git-scm.com/book/en/v2/Git-Branching-Rebasing
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events