Skip to main content
6 events
when toggle format what by license comment
Oct 30, 2015 at 23:38 comment added Mark Amery This answer was reasonable at the time it was posted, but is now obsolete; git reset somefile and git reset both work prior to making the first commit, now. This has been the case since several Git releases back.
Mar 29, 2013 at 11:26 comment added sjas The second part works, but it is a bit clumsy. How line endings are handled, depends on autocrlf value... This won't work in every project, depending the settings.
Oct 3, 2012 at 21:32 comment added Kounavi Confirmed! Tried a git reset after a git add . and git was complaining about corrupt HEAD. Following your advice, I could git add & reset back and forth with no problems :)
May 10, 2012 at 18:59 history edited Ryan Lundy CC BY-SA 3.0
added 131 characters in body
Apr 4, 2012 at 18:23 history edited Ryan Lundy CC BY-SA 3.0
added 211 characters in body
Sep 24, 2011 at 23:34 history answered Ryan Lundy CC BY-SA 3.0