From: Sverre Rabbelier <srabbelier@gmail.com>
To: Thomas Guyot-Sionnest <dermoth@aei.ca>
Cc: git@vger.kernel.org
Subject: Re: git reset --hard and uncommitted files in index
Date: Fri, 22 May 2009 12:50:40 +0200 [thread overview]
Message-ID: <fabb9a1e0905220350i12d30d17udf078ec2ff76513a@mail.gmail.com> (raw)
In-Reply-To: <gv52s4$e7h$1@ger.gmane.org>
Heya,
On Fri, May 22, 2009 at 04:32, Thomas Guyot-Sionnest <dermoth@aei.ca> wrote:
> Shouldn't git just unstage it?
You can do that too, 'git reset && git reset --hard' will not touch
untracked files. The first will unstage all your changes, the second
will blow away all changes to tracked files.
--
Cheers,
Sverre Rabbelier
prev parent reply other threads:[~2009-05-22 10:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 2:32 git reset --hard and uncommitted files in index Thomas Guyot-Sionnest
2009-05-22 6:43 ` Johannes Sixt
2009-05-22 10:50 ` Sverre Rabbelier [this message]
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=fabb9a1e0905220350i12d30d17udf078ec2ff76513a@mail.gmail.com \
--to=srabbelier@gmail.com \
--cc=dermoth@aei.ca \
--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).