git commit -a

今天提交git時遇到這樣一個問題,我在項目裏rm掉了許多文件,等到想commit的時候,發現這些被刪除的文件都是not staged的狀態,這要一個個的去git rm就太蛋疼了。這時候就發現了git commit -a這個命令。git OPTIONS -a, --all Tell the command to automatically stage files that have been mod
相關文章
相關標籤/搜索