Created
August 1, 2012 09:19
-
-
Save dpwright/3225360 to your computer and use it in GitHub Desktop.
Git alias to get a git commit sha1 from an SVN revision number in git-svn
This file contains hidden or 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
svn-ref = "!f() { git log --grep \\"git-svn-id.*@$1\\" --pretty=%H; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment