From: Brian Gernhardt Date: Sat, 13 Jan 2007 19:31:08 GMT Subject: Re: Importing from tarballs; add, rm, update-index? Message-ID: <8E585186-FC3F-473B-BA1F-91CFEF1A63F4@silverinsanity.com> In-Reply-To: <200701131815.27481.alan@chandlerfamily.org.uk> On Jan 13, 2007, at 1:15 PM, Alan Chandler wrote: > (although that is probably harder than it needs to be - can't I > just do > git add . ?) Yes. It sounds very much like you want to simply do "git add . ; git commit -a". But making that the default for "commit -a" would be obnoxious for many other people. I know that fairly often I begin adding a chunk of new code and realize the changes I made to the existing code should logically be a different commit. Having "git commit -a" ignore the new files (and any new object/log/debug/etc files I haven't added to .gitignore) makes things so much simpler. A more through version ("git commit --everything"?) that also adds files would be fine, but don't muck up the existing -a, please. ~~ Brian