Skip to content

Instantly share code, notes, and snippets.

@jordancalder
Created January 13, 2015 23:41
Show Gist options
  • Save jordancalder/b31b6d4194200d2b5582 to your computer and use it in GitHub Desktop.
Save jordancalder/b31b6d4194200d2b5582 to your computer and use it in GitHub Desktop.
Remove latest commit, keep changes in local working directory
git reset --soft HEAD~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment