Timeline for How do I undo 'git add' before commit?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 30, 2015 at 1:33 | comment | added | Mark Amery | No, this adds a deletion of everything in your current directory. Very different to just unstaging changes. | |
Jun 2, 2013 at 3:46 | comment | added | Priya Ranjan Singh |
Also helpful if you don't have any previous commits. In absence of previous commit, git reset HEAD <file> would say fatal: Failed to resolve 'HEAD' as a valid ref.
|
|
May 28, 2013 at 15:18 | history | edited | fedorqui | CC BY-SA 3.0 |
formating code
|
Dec 9, 2009 at 22:35 | comment | added | oz10 | I wasn't looking to un-add everything, just ONE specific file. | |
Dec 9, 2009 at 21:19 | history | answered | braitsch | CC BY-SA 2.5 |