3 ms·
No it's not. [alias] addremove = !git add . && git add -u That will do it though, so it's not too hard to add.
by stevelosh 14y ago
No 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