Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marcusshepp
Created August 29, 2017 13:21
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 marcusshepp/d1ad60990c6127f5486c63e36c6b847e to your computer and use it in GitHub Desktop.
Save marcusshepp/d1ad60990c6127f5486c63e36c6b847e to your computer and use it in GitHub Desktop.
reset file back to commit hash
git checkout c5f567 -- file1/to/restore file2/to/restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment