Git Permission denied for longer pathnames

1

I have to do the clone of the project in the directory:

C:\xampp_5.3\htdocs\Meu-projeto

First running the configuration to allow pathnames more extensive:

git config --system core.longpaths true

Running the above command returns this error:

  

error: could not lock config file C: \ Program Files \ Git \ mingw64 / etc / gitconfig: Permission denied

How to solve this?

    
asked by anonymous 18.03.2016 / 13:27

1 answer

0

I think the reason for the error is the bars of your path, as they are half bars and halves against bars the error happens. Try to normalize the bars so that they all stay the same.

    
18.03.2016 / 14:59