Re: [PATCH] user-manual: Add section on ignoring files
- From
Johan Herland <johan@herland.net>
- Date
- May 16, 2007, 07:28 UTC
- Message-ID
- <200705160928.00900.johan@herland.net>
- In-Reply-To
- <7vhcqdha4b.fsf@assigned-by-dhcp.cox.net>
On Wednesday 16 May 2007, Junio C Hamano wrote:
Show 10 quoted lines
> Johan Herland <johan@herland.net> writes: > > > +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 quickly becomes > > +annoying to have these untracked files lying around; e.g. they make > > +"`git add .`" and "`git commit -a`" practically useless, and they keep > > I think we would want to s/and "`git commit -a`//; if you start > tracking the file, .gitignore would not interfere with it AFAIK.
You're right. "git commit -a" doesn't actually add untracked files at all (you still have to do "git add", anyway). Don't know what I was thinking. Feel free to edit.
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net