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

Re: Extend "git reset" to take a reset point

From
Junio C Hamano <junkio@cox.net>
Date
Aug 7, 2005, 01:42 UTC
Message-ID
<7vmznu4j5i.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0508061746530.3258@g5.osdl.org>

How about saving the current HEAD to $GIT_DIR/OLD_HEAD just in case? Then after fixing up the files in the working tree, you could say "git commit -m OLD_HEAD".

Previous: Linus Torvalds
Message 2 of 2 in “Extend "git reset" to take a reset point”
  1. Linus TorvaldsAug 7, 2005
  2. Junio C HamanoAug 7, 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.