Skip to content

Instantly share code, notes, and snippets.

@dpwright
Created August 1, 2012 09:19
Show Gist options
  • Save dpwright/3225360 to your computer and use it in GitHub Desktop.
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
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