by the_mitsuhiko · 13y ago · 0 comments
That's the default of what git does even without a command.
[alias]
addremove = !git add . && git add -u
That will do it though, so it's not too hard to add. -a, --all
Tell the command to automatically stage files
that have been modified and deleted, but new
files you have not told Git about are not affected.