Re: git reset --hard not removing some files
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 1, 2006, 17:21 UTC
- Message-ID
- <e5n7lv$3tl$1@sea.gmane.org>
- In-Reply-To
- <BAYC1-PASMTP04B113F61282BAE465D7F0AE900@CEZ.ICE>
Sean wrote:
Show 19 quoted lines
> 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