文件我從文件1改名爲文件 - >文件2和git狀態顯示:刪除刪除了混帳
我做一個git RM「路徑/ file.xml」,它是上演承諾:
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: pathname/file.xml
如何刪除此文件?
後,我承諾和變基,我得到
# Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
# (use "git add <file>..." to mark resolution)
added by us: path/file1.xml
no changes added to commit (use "git add" and/or "git commit -a")
爲什麼在提交之後重新綁定? –