Created
January 27, 2010 14:36
-
-
Save hukl/287879 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output root of a given branch (second commit from the top of the output) | |
git for-each-ref refs/heads | while read sha rest; do git merge-base $sha <branchname>; done | git log --date-order --no-walk --stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment