git log --first-parent --no-mergesFor more details checkout http://stackoverflow.com/questions/5720343/using-git-show-all-commits-that-exist-only-on-one-specific-branch-and-not-a
Then you can format the output as follows
git log --first-parent --no-merges --pretty=format:"%H %s"Then you get something like
3d6995f61c1359e44c98433bb5ed4251798002c3 My Commit
No comments:
Post a Comment