From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: git reset --hard not removing some files
Date: Thu, 01 Jun 2006 19:21:19 +0200 [thread overview]
Message-ID: <e5n7lv$3tl$1@sea.gmane.org> (raw)
In-Reply-To: BAYC1-PASMTP04B113F61282BAE465D7F0AE900@CEZ.ICE
Sean wrote:
> On Thu, 1 Jun 2006 18:00:52 +0200
> Martin Waitz <tali@admingilde.org> wrote:
>
>> $ git reset --hard v1.3.3
>>
>> $ git status
>> # On branch refs/heads/test
>> #
>> # Untracked files:
>> # (use "git add" to add to commit)
>> #
>> # git-quiltimport
>> # git-upload-tar
>> nothing to commit
>
> Resetting to version 1.3.3 gets you an old version of the .gitignore
> file which doesn't ignore these two untracked files. Reset --hard
> doesn't remove them because it only deals with tracked files. Thus,
> they show up in your status report.
Do you think it is _frequently_ asked question, worth adding
to http://git.or.cz/gitwiki/GitFaq ?
--
Jakub Narebski
Warsaw, Poland
next prev parent reply other threads:[~2006-06-01 17:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-01 16:00 git reset --hard not removing some files Martin Waitz
2006-06-01 16:13 ` Sean
2006-06-01 16:13 ` Sean
2006-06-01 17:21 ` Jakub Narebski [this message]
2006-06-01 19:21 ` Sean
2006-06-01 19:21 ` Sean
2006-06-02 8:16 ` Jakub Narebski
2006-06-01 16:21 ` Linus Torvalds
2006-06-02 9:37 ` Martin Waitz
2006-06-02 10:08 ` Sean
2006-06-02 10:08 ` Sean
2006-06-02 14:17 ` Martin Waitz
2006-06-02 14:57 ` Junio C Hamano
2006-06-03 8:48 ` Junio C Hamano
2006-06-03 15:11 ` Linus Torvalds
2006-06-04 9:16 ` Martin Waitz
2006-06-04 9:31 ` Junio C Hamano
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='e5n7lv$3tl$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.