git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Introduce "reset type" flag to "git reset"

From
Yasushi SHOJI <yashi@atmark-techno.com>
Date
Aug 24, 2005, 00:41 UTC
Message-ID
<87wtmc2mkg.wl@mail2.atmark-techno.com>
In-Reply-To
<7vpss4mbe0.fsf@assigned-by-dhcp.cox.net>

At Tue, 23 Aug 2005 17:22:47 -0700, Junio C Hamano wrote:

Show 11 quoted lines
> 
> 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.
ah, ok.  I was gonna suggest git-revert-script for the name but quick
check showed me that we already have that script. so I just thought it
does the thing.
--
         yashi
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 7 in “Introduce "reset type" flag to "git reset"”
  1. Introduce "reset type" flag to "git reset"Junio C Hamano, Aug 23, 2005
  2. Sam RavnborgAug 23, 2005
  3. Junio C HamanoAug 23, 2005
  4. Yasushi SHOJIAug 24, 2005
  5. Junio C HamanoAug 24, 2005
  6. Yasushi SHOJIAug 24, 2005
  7. Junio C HamanoAug 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.