3 ms·
> The command addremove is genius That's the default of what git does even without a command.
by the_mitsuhiko 14y ago
> The command addremove is genius
That's the default of what git does even without a command.
- stevelosh 14y agoNo it's not. [alias] addremove = !git add . && git add -u That will do it though, so it's not too hard to add.
- the_mitsuhiko 14y agoGit does it on `git commit -a`.
- stevelosh 14y agoNo, it doesn't. -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.
- the_mitsuhiko 14y agoAh, it's too long since I used hg. Thought it only picks up deletes.
- austintaylor 14y agogit add -A
- develop7 14y agoNo, git doesn't track renames — git _guesses_ them