Re: Restore a single file in the index back to HEAD
- From
- Salikh Zakirov <salikh.zakirov@intel.com>
- Date
- Nov 2, 2006, 12:47 UTC
- Message-ID
- <eicpch$7ar$2@sea.gmane.org>
- In-Reply-To
- <7vbqnq51v4.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> In other words, I do not have a good explanation on what "git > reset [--hard|--mixed] <commit> <path>..." does that I can write > in the documentation.
In my humble opinion, git-reset is somewhat overloaded in functionality, and it takes time to explain its function to git newbies.
Why not split it into two commands, e.g.
git-rewind for manipulations with HEAD git-reset for manipulations with index and working copy only
?