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

后端 未结 9 2273
刺人心
刺人心 2021-02-03 23:07

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:27

    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.

提交回复
热议问题