Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2007, 18:06 UTC
- Message-ID
- <7v8x5bi703.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.LNX.4.64.0711061230540.4362@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> Well, I think that _if_ we allow "git revert <path>" to mean "revert the > changes to <path>, relative to the index" (which would be the same as "git > checkout <path>"), then committing that change just does not make sense. > > And it is this behaviour that people are seeking, not "git revert <commit> > <path>".
Heh, I found this in the recent log somewhere.
<gitte> Really, I wonder how difficult git is for people who are not brainwashed by cvs/svn, and unfortunately enough, partly by bzr and hg. <gitte> From a user perspective, you might be correct. But then we have to add 1000 commands to reflect the English language. <gitte> Not what I want. [06:46]
I am wondering who said it ;-).
But anyway, I am inclined to agree that accepting "$scm revert paths.." as a synonym for "git checkout -- paths..."