删除需要加反斜杠,空格和括号都需要加。
# 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: mcu/pmu/Backup (2) of pmu.ewp
#
srwang@kunlun:~$ git rm mcu/pmu/Backup\ \(2\)\ of\ pmu.ewp
rm 'mcu/pmu/Backup (2) of pmu.ewp'