Fatal: unable to access '.git / config': permission denied

Git worked fine, but when I tried to click today, I received an error message:

fatal: unable to access .git / config ': Permission denied

I have not changed git settings recently.

This question seemed to be similar, but I'm not sure how to find where it is .git/config. I tried to run git config --list --show-origin, but all git commands give me the same error.

How can i run git again? If that matters, I am on Windows (without administrator privileges) using Bitbucket.

+1
source share
1 answer

The first test is to check whether the error is saved with:

CMD :

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\Git2.13
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%

'bash' bash git config git push.

0

Source: https://habr.com/ru/post/1680163/


All Articles