From: Josef Weidendorfer Date: Sun, 20 Aug 2006 19:11:33 GMT Subject: Re: git refuses to switch to older branches Message-ID: <200608202111.33470.Josef.Weidendorfer@gmx.de> In-Reply-To: On Sunday 20 August 2006 14:48, you wrote: > Not necessarily. Sometimes you have files in your working directory, which > are not in your repository, you know? Yet, I think it is quite inconvenient the way it is now. The same happens if you track a generated file by accident, and remove it later from tracking. The real problem is that there are two reasons to put a file into .gitignore: You do not want to have it tracked and polluting git-status because (1) it is temporary and generated (2) it is private and not supposed to be in the repository To distinguish these cases, we could introduce a per-repository configuration file .git/nevertouch . Comments? Josef