-2
git add似乎不適用於這些已刪除的文件,那麼如何提交更改?如何提交我使用rm而不是git rm刪除的文件?
$ git status
# On branch master
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: ci/ci/__init__.py
# deleted: ci/ci/settings.py
# deleted: ci/ci/urls.py
# deleted: ci/ci/wsgi.py
# deleted: ci/manage.py
#
no changes added to commit (use "git add" and/or "git commit -a")
你究竟想在這裏完成什麼?你是否希望git在提交中記錄你刪除了這些文件? –
相關文章http://stackoverflow.com/questions/1402776/how-do-i-commit-all-deleted-files-in-git – williamcarswell
@ColinR我只是mv ci目錄是網絡 – hugemeow