Re: [PATCH] Introduce "reset type" flag to "git reset"
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 24, 2005, 00:22 UTC
- Message-ID
- <7vpss4mbe0.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <87y86s2nvi.wl@mail2.atmark-techno.com>
Yasushi SHOJI <yashi@atmark-techno.com> 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.