Skip to content

Instantly share code, notes, and snippets.

@filipevarjao
Created April 26, 2012 19:25
Show Gist options
  • Save filipevarjao/2502291 to your computer and use it in GitHub Desktop.
Save filipevarjao/2502291 to your computer and use it in GitHub Desktop.
git reset --hard HEAD~1
git status
gedit file1
git add file1
git commit -m "new commit, new branch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment