Skip to content

Instantly share code, notes, and snippets.

@allen-munsch
Last active November 6, 2019 19:11
Show Gist options
  • Save allen-munsch/99b234039257660b2f3824805fc28442 to your computer and use it in GitHub Desktop.
Save allen-munsch/99b234039257660b2f3824805fc28442 to your computer and use it in GitHub Desktop.
git cheat sheet

checkout all files in old commit

git checkout <commit or branch> -- .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment