Over the development process, there are many commits to a code repository. Some of them are merge commits, in other words, they carry the 'signal' to merge a particular Pull Request to master.
You can see the IDs of these commits easily using an online code repository, such as Github, Bitbucket etc...
However, can this be done locally? Is there a way to get a list of the ids of the merge commits, and see which branch each one corresponds to ?
CodePudding user response:
I think what you are looking for is
git log --merges
Additionally you can add the --oneline
parameter to see a shorter version of your merges.