Re: RFC: perhaps a "new file" should not be deleted by "git reset --hard"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Raible
Date: Thursday, September 11, 2008 - 1:50 pm

Elijah Newren <newren <at> gmail.com> writes:


Yes, you have a 100% correct understand of what I'm trying to say.
But can you see a downside to "git reset --hard" treating newly
added files as "git reset"?

Wiping out existing files (with no realistic recovery) is a bit harsh,
isn't it?  Especially when AFAICS there's no downside to leaving the
untracked files as they were before they were "git add"-ed.

- Eric

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: RFC: perhaps a "new file" should not be deleted by "gi ..., Eric Raible, (Thu Sep 11, 1:50 pm)