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

Re: [PATCH] git-reset [--mixed] <tree> [--] <paths>...

From
Junio C Hamano <junkio@cox.net>
Date
Dec 14, 2006, 10:02 UTC
Message-ID
<7virge94nq.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vwt4u96e8.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
> Sometimes it is asked on the list how to revert selected path in
> the index from a tree, most often HEAD, without affecting the
> files in the working tree...

The patch depends on another one that allows the command to work from a subdirectory (and also has one bug). Updated one will appear in 'next'.

Previous: Junio C HamanoNext: Peter Baumann
Message 2 of 4 in “git-reset [--mixed] <tree> [--] <paths>...”
  1. git-reset [--mixed] <tree> [--] <paths>...Junio C Hamano, Dec 14, 2006
  2. Junio C HamanoDec 14, 2006
  3. Peter BaumannDec 14, 2006
  4. Junio C HamanoDec 14, 2006

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.