Created
August 8, 2013 02:26
-
-
Save fabriciocolombo/6180917 to your computer and use it in GitHub Desktop.
Git tips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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