git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation/gitignore.txt: Clarify gitignore vs tracked files

From
Petr Baudis <pasky@suse.cz>
Date
Jul 17, 2008, 18:26 UTC
Message-ID
<20080717182619.GG10151@machine.or.cz>
In-Reply-To
<7vabgggyuc.fsf@gitster.siamese.dyndns.org>
  Hi,
On Thu, Jul 17, 2008 at 11:16:59AM -0700, Junio C Hamano wrote:
> I'd suggest dropping everything after ';'.
  I think the part after ';' is the main benefit of this patch,
actually. Without suggesting an alternative, the users are left puzzled
"so how do I do that?"
>  - If you want to keep local changes without ever checking in, you can do
>    so by making partial commits.
  Yes, that's a rather obvious solution but the user probably wants
something nicer than that if he starts looking already.
>  - You could mark these paths "assume unchanged".
  I really think this is worth mentioning in the gitignore manpage;
it is not _directly_ on-topic, but there is no other obvious place where
to teach users about it and all the interested people will check the
gitignore manpage first. Perhaps a small section at the end might be
acceptable? ;-)
-- 
				Petr "Pasky" Baudis
GNU, n. An animal of South Africa, which in its domesticated state
resembles a horse, a buffalo and a stag. In its wild condition it is
something like a thunderbolt, an earthquake and a cyclone. -- A. Pierce
Previous: Junio C HamanoNext: Petr Baudis
Message 3 of 4 in “Documentation/gitignore.txt: Clarify gitignore vs tracked files”
  1. Documentation/gitignore.txt: Clarify gitignore vs tracked filesPetr Baudis, Jul 17, 2008
  2. Junio C HamanoJul 17, 2008
  3. Petr BaudisJul 17, 2008
  4. Documentation: How to ignore local changes in tracked filesPetr Baudis, Jul 18, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.