标签: git
git commit -a会自动暂存所有已修改的文件:
git commit -a
-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.
-a的{{1}}相当于什么?
-a
答案 0 :(得分:4)
等价物为git add -u
git add -u