larymak/Python-project-Scripts

Unable to clone repository using GitHub desktop on Windows 11

ehcelino opened this issue · 6 comments

Hello, I'm trying to clone the https://github.com/larymak/Python-project-Scripts repository on Windows 11 using GitHub desktop, but I get this error: error: invalid path 'dice_game_"barbut"' . I am new to git, and I've searched the web for help to no avail.
image

Any help is appreciated!

I think most of the time when s such a problem is e encountered it is mostly due to network issues. Chek and e ensure that y your network is stable

I think most of the time when s such a problem is e encountered it is mostly due to network issues. Chek and e ensure that y your network is stable

I've tried to clone the repository at different times, but the same problem occur. I've tried once more today after checking my connection for errors, but to no avail.

I suppose the error is related to the " character in the directory/file name. Windows doesn't accept folders with those characters.

  1. Clone the Git repository locally;
  2. 'cd' into the local Git repository folder that has just been cloned;
  3. Run git reset
  4. Run git config core.protectNTFS false
  5. Run git checkout (just git checkout, no * at the end of command).

This will help you out.

It did not work. Git complains about the dice_game_"barbut" file.
image

Try again by deleting all the files and downloading them again and use git config --global core.protectNTFS false .

Try again by deleting all the files and downloading them again and use git config --global core.protectNTFS false .

It worked! Thank you!