我对文件进行了一些更改,现在当我检查状态时显示:
On branch master
Your branch and 'origin/master' have diverged,
and have 1 and 80 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
nothing to commit, working directory clean
所以我尝试拉取,但它显示了:
error: unable to create file docs/com/teamname/tutortrader/C:\nppdf32Log\debuglog.txt (Invalid argument)
我尝试过执行git rm -f docs/com/teamname/tutortrader/C:\nppdf32Log\debuglog.txt
的命令,但是它显示该文件不存在。我还尝试过执行rm -f C:\nppdf32Log\debuglog.txt
的命令,但也不存在。
git rm -f
仅起作用。它不是本地的,而是在存储库中。 - Charles Duffy