Remove all deleted files from “changed but not updated” in Git

后端 未结 3 1739
萌比男神i
萌比男神i 2020-12-07 23:16

When I run git status, I have a bunch of lines of the form

deleted:    dir/file.js

I can remove each of these individually wit

3条回答
  •  情话喂你
    2020-12-07 23:44

    So, do you want to commit the deletion of those files? Then use

    git add -u
    git commit
    

提交回复
热议问题