Subject: Re: Restore a single file in the index back to HEAD

From: Salikh Zakirov <[email-masked]>
Date: Thu, 02 Nov 2006 15:47:17 +0300

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

?