Re: understanding index
- From
- Nicolas Sebrecht <nicolas.s-dev@laposte.net>
- Date
- Jan 31, 2009, 22:07 UTC
- Message-ID
- <20090131220712.GE29748@ultras>
- In-Reply-To
- <adf1fd3d0901311257j1501d222nc24514b013bd13f3@mail.gmail.com>
On Sat, Jan 31, 2009 at 09:57:29PM +0100, Santi Béjar wrote:
Show 7 quoted lines
> By default git reset only acts on the head of the branch and the index, so with: > > git reset HEAD foo > > what you are saying is, use the HEAD as the head of the branch (don't > change my branch), but put in the index the state of foo in HEAD, so > in brief reset the index state of foo.
Thank you all for the explanations.
-- Nicolas Sebrecht