Re: [RFC] git add -a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 6 Mar 2008, Marc-André Lureau wrote:

> Hi,
> 
> On Thu, Mar 6, 2008 at 12:46 PM, Michele Ballabio
> <barra_cuda@xxxxxxxxxxxx> wrote:
> >
> >  There's "git add -u". It should do what you want.
> >
> 
> Thanks for this answer :) I wonder why "-u" and not "-a".. After all
> git commit "-a" could be "-s" if we follow that distinction
> (Update/Stage/All).

Probably because some people would expect "git add -a" to do the same as 
"git add .", i.e. add _all_ files (even the untracked ones), as opposed to 
"git add -u", which updates all _tracked_ files.

Hth,
Dscho

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux