fatal: unable to access 'H://.gitconfig': Invalid argument
See original GitHub issueDescription
After the application is started an error dialog is shown ‘fatal: unable to access ‘X://.gitconfig’: Invalid argument’. It is not possible to use github desktop anymore,
Version
since 1.1.0, last working version 1.0.13
GitHub Desktop version: 1.1.0
OS version: Microsoft Windows [Version 6.1.7601]
Steps to Reproduce
- run GitHub Desktop
Expected behavior: no error message
Actual behavior: error message
Reproduces how often: allways / no workaround
Logs
2018-02-27T10:15:16.948Z - error: [ui] git status --untracked-files=all --branch --porcelain=2 -z
exited with an unexpected code: 128.
fatal: unable to access ‘X://.gitconfig’: Invalid argument
2018-02-27T10:15:17.025Z - error: [ui] git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes
exited with an unexpected code: 128.
fatal: unable to access ‘X://.gitconfig’: Invalid argument
2018-02-27T10:15:17.057Z - error: [ui] git remote -v
exited with an unexpected code: 128.
fatal: unable to access ‘X://.gitconfig’: Invalid argument
Additional Information
The home drive (X:) is hidden to the user and mapped to a network share.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
This command has solved my problem:
net use H: /delete
I was able to solve it by adding HOME to the enviroment variables and directing it to the folder with al my repositories.