Skip to content

Instantly share code, notes, and snippets.

@arlimus
Created October 4, 2013 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arlimus/6823679 to your computer and use it in GitHub Desktop.
Save arlimus/6823679 to your computer and use it in GitHub Desktop.
Git tricks
# get the SHA hash of the first commit in your git repo
git log --pretty=format:%H | tail -n1
# put version 0.0 tag onto the first commit in your git repo
git tag 0.0 $(git log --pretty=format:%H | tail -n1 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment