From: Junio C Hamano <gitster@pobox.com>
To: Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Documentation/gitignore.txt: Clarify gitignore vs tracked files
Date: Thu, 17 Jul 2008 11:16:59 -0700 [thread overview]
Message-ID: <7vabgggyuc.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20080717163622.12592.29919.stgit@localhost
Petr Baudis <pasky@suse.cz> writes:
> -git should ignore. Each line in a `gitignore` file specifies a
> -pattern.
> +git should ignore.
> +Note that all the `gitignore` files really concern only files
> +that are not already tracked by git; there is no direct mechanism
> +to make git ignore your local modifications in already tracked files.
Thanks.
I'd suggest dropping everything after ';'.
- If you want to keep local changes without ever checking in, you can do
so by making partial commits.
- You could mark these paths "assume unchanged".
next prev parent reply other threads:[~2008-07-17 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 16:36 [PATCH] Documentation/gitignore.txt: Clarify gitignore vs tracked files Petr Baudis
2008-07-17 18:16 ` Junio C Hamano [this message]
2008-07-17 18:26 ` Petr Baudis
2008-07-18 14:11 ` [PATCH] Documentation: How to ignore local changes in " Petr Baudis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vabgggyuc.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
/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.
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 NNTP newsgroup(s).