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

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

From
Johan Herland <johan@herland.net>
Date
May 15, 2007, 23:31 UTC
Message-ID
<200705160131.40772.johan@herland.net>
In-Reply-To
<f2dffu$so6$2@sea.gmane.org>
On Wednesday 16 May 2007, Jakub Narebski wrote:
Show 12 quoted lines
> Johan Herland wrote:
> 
> > +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).
Yes, of course. I forgot about that "minor" point...
Have fun!
...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Jakub NarebskiNext: Junio C Hamano
Message 3 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.