Skip to content

Instantly share code, notes, and snippets.

@Cosmicist
Last active January 4, 2016 07:18
Show Gist options
  • Save Cosmicist/8587303 to your computer and use it in GitHub Desktop.
Save Cosmicist/8587303 to your computer and use it in GitHub Desktop.
git branch newbranch
git reset --hard HEAD~3
git checkout newbranch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment