Skip to content

Instantly share code, notes, and snippets.

@eliza-abraham
Created January 29, 2014 06:03
Show Gist options
  • Save eliza-abraham/8682701 to your computer and use it in GitHub Desktop.
Save eliza-abraham/8682701 to your computer and use it in GitHub Desktop.
Switching Between Commits
1) Get the required commit hash from git log
2) Use git checkout commit_hash
3) Run the application (There will be no un-tracked files)
4) git checkout branch_name : Come back to the latest commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment