Re: git bisect/checkout and changes to .gitignore
- From
Chris Angelico <rosuav@gmail.com>
- Date
- Jun 22, 2012, 12:07 UTC
- Message-ID
- <CAPTjJmqw6hC_SnWiNOfcebzu4ywWkvLNOG8pbi_D+rBnQYenMw@mail.gmail.com>
- In-Reply-To
- <4FE44983.30209@viscovery.net>
On Fri, Jun 22, 2012 at 8:31 PM, Johannes Sixt <j.sixt@viscovery.net> 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