Skip to content

Instantly share code, notes, and snippets.

@git-ashish
Created May 22, 2013 04:44
Show Gist options
  • Select an option

  • Save git-ashish/5625296 to your computer and use it in GitHub Desktop.

Select an option

Save git-ashish/5625296 to your computer and use it in GitHub Desktop.
Git - Get a file from a specific commit.
git show HEAD~4:file.html > oldFile.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment