Created
March 4, 2014 05:28
-
-
Save nit3ch/9340776 to your computer and use it in GitHub Desktop.
Undo 'git add' before commit
This file contains 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
You can also git reset HEAD <file>, which will remove it from the current index (the "about to be committed" area) without changing anything else. | |
REF: http://stackoverflow.com/questions/348170/undo-git-add-before-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment