Git bash不会让我拉

Imr*_*Ali 4 git bash github git-pull

所以我对我的文件进行了一些更改,现在当我检查我的状态时,它说:

   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
Run Code Online (Sandbox Code Playgroud)

所以我试着拉,它说

error: unable to create file docs/com/teamname/tutortrader/C:\nppdf32Log\debuglog.txt (Invalid argument)
Run Code Online (Sandbox Code Playgroud)

我试过git rm -f docs/com/teamname/tutortrader/C:\nppdf32Log\debuglog.txt但它只是说这个文件不存在.我也试过了rm -f C:\nppdf32Log\debuglog.txt,但那也不存在.

Ewa*_*lor 5

某种善意的人(可能是在Linux或Mac上)已经为您的仓库添加了一个文件C:\nppdf32Log\debuglog.txt.这是Windows上的无效文件名.您需要让他们重命名此文件,否则您将无法再在Windows上克隆此repo.

cf 如何使用文件名中的冒号克隆文件