fatal: unable to access 'H:\/.config/git/config': Invalid argument [Git on Windows 7]

后端 未结 9 1007
慢半拍i
慢半拍i 2021-02-03 22:34

I get this error when opening a git repository:

fatal: unable to access \'H:/.config/git/config\': Invalid argument

Where in git is this path being pulled from?<

9条回答
  •  走了就别回头了
    2021-02-03 23:30

    As some people are saying this seems to be an issue with HomeDrive and HomePath when using network drives.

    For me this was solved by running my git commands as admin.

提交回复
热议问题