On Tuesday, June 3, 2014 2:16:44 PM UTC+2, Pierre-François CLEMENT wrote:
> It seems logical to me that git-reset <http://git-scm.com/docs/git-reset>'s
> --hard option resets everything, what's staged, what's not, etc. I see it
> as a *"make my working dir in the exact same state as this commit"*
> command, which I believe it is. If you don't want it to reset your index or
> working dir or both, see git-reset <http://git-scm.com/docs/git-reset>'s
> other modes.
Well, that's the point. Currently it's *not* a "make my working dir the
exact same state" tool, as far as untracked files are concerned. It always
leaves untracked files alone, there's not even an option to delete them. I
feel the staged file should be left alone, too. (Just the index should be
reset, so then it's unstaged again.)
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.