From: Chris Angelico Date: Fri, 22 Jun 2012 12:07:52 GMT Subject: Re: git bisect/checkout and changes to .gitignore Message-ID: In-Reply-To: <4FE44983.30209@viscovery.net> On Fri, Jun 22, 2012 at 8:31 PM, Johannes Sixt wrote: > Files mentioned in .gitignore are considered garbage. But your file is > precious, hence, you should not list it in .gitignore. An important distinction! Thanks for the thread pointer. The --no-overwrite-ignore flag is part of what I want. It at least gives protection against accidentally losing things (on Wednesday, I unwittingly disposed of several large binary files, and didn't even know about it until a chance discovery of directory size). Is there a way to specify that this flag always be used, even when the checkout doesn't happen on the command line but through (eg) git bisect? Chris Angelico