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

Re: [PATCH] user-manual: Add section on ignoring files

From
Jakub Narebski <jnareb@gmail.com>
Date
May 15, 2007, 23:24 UTC
Message-ID
<f2dffu$so6$2@sea.gmane.org>
In-Reply-To
<200705160047.52717.johan@herland.net>
Johan Herland wrote:
Show 6 quoted lines
> +A project will often generate files that you do 'not' want to track with git.
> +This typically includes files generated by a build process or temporary
> +backup files made by your editor. Of course, 'not' tracking files with git
> +is just a matter of 'not' calling "git add" on them. But it might be
> +annoying to have these untracked files automatically showing up in the
> +output of "git status", in the commit message template, etc.

_And_ ignored files affect globbing and path patterns ("git add ." or "git add *.txt"would not add ignored files), and --all options ("git commit -a" would not commit changed but ignored files).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Johan HerlandNext: Johan Herland
Message 2 of 9 in “user-manual: Add section on ignoring files”
  1. user-manual: Add section on ignoring filesJohan Herland, May 15, 2007
  2. Jakub NarebskiMay 15, 2007
  3. Johan HerlandMay 15, 2007
  4. Junio C HamanoMay 15, 2007
  5. user-manual: Add section on ignoring filesJohan Herland, May 16, 2007
  6. Junio C HamanoMay 16, 2007
  7. Johan HerlandMay 16, 2007
  8. J. Bruce FieldsMay 16, 2007
  9. Johan HerlandMay 16, 2007

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.