On Sat, Jan 31, 2009 at 09:57:29PM +0100, Santi Béjar wrote: > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html