From: Paolo Ciarrocchi Date: Fri, 05 Oct 2007 08:39:45 GMT Subject: Re: Question about "git commit -a" Message-ID: <4d8e3fd30710050139j45a5a924t5c048994e3457c5f@mail.gmail.com> In-Reply-To: On 10/4/07, Johannes Schindelin wrote: > Hi, > > On Fri, 5 Oct 2007, Nguyen Thai Ngoc Duy wrote: > > > On 10/4/07, Wincent Colaiuta wrote: > > > > Am I wrong? > > > > > > About it being a majority, yes, I suspect so. > > > > > > > Maybe in the next survey we should include question "do you usually do > > 'git commit' or 'git commit -a'" :-) > > Not meaning to discourage you, but it is a known fact that Linus does "git > commit" without "-a" quite often. > > And if that were not bad enough for your plan, I myself omit "-a" > regularly. So you would get a veto from me, too. So you are used to do something like (please correct me if I'm wrong): - modify A - modify B - modify C - modify D - modify E $ git A B E $ git add A B E (A, B and E are now in the staging area) $ git commit -m "I just modified A,B and E" $ git C D $ git add C D (C and D are now in the staging area) $ git commit -m "I just modified C and D" Ciao, -- Paolo http://paolo.ciarrocchi.googlepages.com/