http://www.commandlinefu.com/commands/view/1246/git-remove-files-which-have-been-deleted
git remove files which have been deleted
git rm $(git ls-files --deleted)
18
git remove files which have been deleted
This command handles git rm'ing files that you've deleted.
Alternatives
There are 2 alternatives - vote for the best!
git add -u
38
It deletes all removed files, updates what was modified, and adds new files.
git ls-files -z --deleted | xargs -0 git rm
4
I've used technicalpickles command a lot, but this one handles whitespaces in filenames. I'm sure you want to create an alias for it :)