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".