question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fatal: unable to access 'H://.gitconfig': Invalid argument

See original GitHub issue

Description

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

  1. 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:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
MuhammedGenco94commented, Oct 21, 2022

This command has solved my problem: net use H: /delete

2reactions
BvdVencommented, Jun 28, 2018

I was able to solve it by adding HOME to the enviroment variables and directing it to the folder with al my repositories.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where in git is this path being pulled from?
My situation was that I ran git checkout <branch> and I had fatal: unable to access 'H://.gitconfig': Invalid argument .
Read more >
Visual Studio Developer Community
I get 'fatal: unable to access '\/.config/git/config': Invalid argument' when running VS 2017 as a user on a different domain from local windows...
Read more >
codeshare logo
How to solve the git error fatal: unable to access '\/.config/git/config · Go to System · Click on Advanced System Settings · Then...
Read more >
Gitconfig on HOMEDRIVE not detected
This is probably because the HOMEDRIVE is set to H:. ... throws fatal: unable to access: 'N://.gitconfig': Invalid argument error message.
Read more >
I keep getting this sourcetree error. Please Help!
I get 'git tag' failed with code 128: fatal: unable to access 'H:V.config/git/config': Invalid argument (My file name here). Thanks!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found