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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html