Skip to content

Instantly share code, notes, and snippets.

@fabriciocolombo
Created August 8, 2013 02:26
Show Gist options
  • Save fabriciocolombo/6180917 to your computer and use it in GitHub Desktop.
Save fabriciocolombo/6180917 to your computer and use it in GitHub Desktop.
Git tips
Revert último commit
$ git commit ... //Commit equivocado
$ git reset --soft HEAD^ //Desfaz commit
Revert added file
$ git add [file]
$ git reset [file]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment