Skip to content

Instantly share code, notes, and snippets.

@swarut
Created September 24, 2012 07:57
Show Gist options
  • Save swarut/3774851 to your computer and use it in GitHub Desktop.
Save swarut/3774851 to your computer and use it in GitHub Desktop.
Git : Showing a file at a specific commit
git show <treeish>:filename
#<treeish> can be something like HEAD~3 or a hash number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment