Re: [PATCH] Documentation/gitignore.txt: Clarify gitignore vs tracked files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 17, 2008, 18:16 UTC
- Message-ID
- <7vabgggyuc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080717163622.12592.29919.stgit@localhost>
Petr Baudis <pasky@suse.cz> writes:
Show 6 quoted lines
> -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".