From: Junio C Hamano Date: Wed, 24 Aug 2005 00:22:47 GMT Subject: Re: [PATCH] Introduce "reset type" flag to "git reset" Message-ID: <7vpss4mbe0.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <87y86s2nvi.wl@mail2.atmark-techno.com> Yasushi SHOJI writes: > for --hard option, what you want to do is to completely revert the > current state of your index file and work tree to known point. > > for that, how about git-revert-script? "git revert" is to create a commit that reverts a previous commit, which I think is quite different from what we have been discussing so far.