News for hackers. Stuff that matters.
Re:How to undo almost anything with Git by jgraham on Monday June 08, 2015 @06:08PM (#9682800)
That is reasonable, depending on what you are trying to achieve,, but I think the explanation you gave is a bit misleading. Neither --hard nor --keep affect files that have never been comitted. The difference is that --keep aborts if it would affect a file that is tracked, but has uncommitted changes.

There are no comments on this comment yet.