From: Miles Bader Date: Sun, 05 Aug 2007 04:00:13 GMT Subject: Re: way to automatically add untracked files? Message-ID: In-Reply-To: <873ayymzc1.fsf@catnip.gol.com> I previously wrote > One thing I often want to do is git-add all untracked files, and also > automatically git-rm all "disappeared" files ... > One way to do this seems to be just "git add ." Oh, also, "git add ." doesn't seem to do the right thing with "dissapeared" files: If I do: mv foo.cc bar.cc git add . then git-status will show a new file "bar.cc", but will list "foo.cc" as "deleted " in the "Changed but not updated" section. Perhaps the right thing will happen if I do "git-commit -a" (though I don't know, I don't really want to try it), this still results in incorrect "git-diff --cached" output (it shows bar.cc as a new file, not as a rename of foo.cc). Am I doing something wrong, or is this just missing functionality? Thanks, -Miles -- Do not taunt Happy Fun Ball.