Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git bash won't let me pull

So I made some changes to my file and now when I check my status it says :

   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

So I try to pull and it says

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

I've tried to git rm -f docs/com/teamname/tutortrader/C:\nppdf32Log\debuglog.txt but it just says that this file doesn't exist. I've also tried rm -f C:\nppdf32Log\debuglog.txt, but that doesn't exist either.

like image 526
Imran Ali Avatar asked Mar 12 '23 18:03

Imran Ali


1 Answers

Some kind person (presumably on Linux or Mac) has added a file to your repo called C:\nppdf32Log\debuglog.txt. This is an invalid filename on Windows. You need to get them to rename this file or you won't be able to clone this repo on Windows any more.

c.f. how do I clone files with colons in the filename

like image 110
Ewan Mellor Avatar answered Mar 16 '23 07:03

Ewan Mellor