From: Chris Angelico <rosuav@gmail.com>
To: git@vger.kernel.org
Subject: Re: git bisect/checkout and changes to .gitignore
Date: Fri, 22 Jun 2012 22:07:52 +1000 [thread overview]
Message-ID: <CAPTjJmqw6hC_SnWiNOfcebzu4ywWkvLNOG8pbi_D+rBnQYenMw@mail.gmail.com> (raw)
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
next prev parent reply other threads:[~2012-06-22 12:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-22 7:51 git bisect/checkout and changes to .gitignore Chris Angelico
2012-06-22 10:31 ` Johannes Sixt
2012-06-22 12:07 ` Chris Angelico [this message]
2012-06-22 17:42 ` 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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPTjJmqw6hC_SnWiNOfcebzu4ywWkvLNOG8pbi_D+rBnQYenMw@mail.gmail.com \
--to=rosuav@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).