From: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
To: git@vger.kernel.org
Subject: Re: understanding index
Date: Sat, 31 Jan 2009 23:07:12 +0100 [thread overview]
Message-ID: <20090131220712.GE29748@ultras> (raw)
In-Reply-To: <adf1fd3d0901311257j1501d222nc24514b013bd13f3@mail.gmail.com>
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
next prev parent reply other threads:[~2009-01-31 22:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 11:10 understanding index Nicolas Sebrecht
2009-01-31 12:09 ` Santi Béjar
2009-01-31 14:45 ` Alex Riesen
[not found] ` <20090131124022.GB29748@ultras>
2009-01-31 20:19 ` Nicolas Sebrecht
2009-01-31 20:57 ` Santi Béjar
[not found] ` <20090131210939.GD29748@ultras>
2009-01-31 22:07 ` Nicolas Sebrecht [this message]
2009-01-31 21:18 ` Björn Steinbrink
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090131220712.GE29748@ultras \
--to=nicolas.s-dev@laposte.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).