From: Matthieu Moy Date: Thu, 30 Oct 2008 15:20:28 GMT Subject: Re: [PATCH] Documentation: add a planning document for the next CLI revamp Message-ID: In-Reply-To: <20081030143918.GB14744@mit.edu> Theodore Tso writes: > * Add the command "git revert-file " which is syntactic sugar for: > > git checkout HEAD -- I don't think "revert-file" is a good name for this: although other SCM often call this "revert", what Git calls "revert" is about reverting an existing commit (it's "backout" in hg for example). The terminology to revert the working tree to the last commited version is already here in Git, it's "reset". I've already argued in favor of allowing "git reset --hard ", which is consistant with existing terminology and doesn't add an extra command, but without success. -- Matthieu