From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Herland Subject: Re: [PATCH] user-manual: Add section on ignoring files Date: Wed, 16 May 2007 09:28:00 +0200 Message-ID: <200705160928.00900.johan@herland.net> References: <200705160047.52717.johan@herland.net> <200705160231.40486.johan@herland.net> <7vhcqdha4b.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT Cc: Junio C Hamano , "Randal L. Schwartz" , Jakub Narebski To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Wed May 16 09:28:27 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HoDvp-0001o2-OQ for gcvg-git@gmane.org; Wed, 16 May 2007 09:28:22 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754648AbXEPH2Q (ORCPT ); Wed, 16 May 2007 03:28:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755531AbXEPH2Q (ORCPT ); Wed, 16 May 2007 03:28:16 -0400 Received: from smtp.getmail.no ([84.208.20.33]:34490 "EHLO smtp.getmail.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754648AbXEPH2P (ORCPT ); Wed, 16 May 2007 03:28:15 -0400 Received: from pmxchannel-daemon.no-osl-m323-srv-009-z2.isp.get.no by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) id <0JI40010DI322O00@no-osl-m323-srv-009-z2.isp.get.no> for git@vger.kernel.org; Wed, 16 May 2007 09:28:14 +0200 (CEST) Received: from smtp.getmail.no ([10.5.16.1]) by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JI40038RI2P1E60@no-osl-m323-srv-009-z2.isp.get.no> for git@vger.kernel.org; Wed, 16 May 2007 09:28:01 +0200 (CEST) Received: from alpha.herland ([84.210.6.167]) by no-osl-m323-srv-009-z1.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JI400IENI2PSN10@no-osl-m323-srv-009-z1.isp.get.no> for git@vger.kernel.org; Wed, 16 May 2007 09:28:01 +0200 (CEST) In-reply-to: <7vhcqdha4b.fsf@assigned-by-dhcp.cox.net> Content-disposition: inline User-Agent: KMail/1.9.6 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Wednesday 16 May 2007, Junio C Hamano wrote: > Johan Herland 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, www.herland.net