I have been happily using SourceTree for 4 months, when suddenly none my local repositories would be displayed in the tool.
The errror says 'git status' failed with code 128: unable to access 'H:\/.config/git/config': invalid argument... then it shows the correct local path to the repository.
I have made no changes to the config, nor performed any updates when this issue hit.
I have tried updating the embedded GIT and using it, without success. I have also tried re-installing without success.
Using git status and other commands from the SourceTree termainal works fine
I have run into the same exact problem. My H drive is a network drive which is used to map the "home" drive on my company's network. Whenever I lose access to the H drive, I receive the error in git. Sometimes, the H drive will lose connection at work due to network issues. If I am at home at not connected to my work network via vpn I will get the issue. As soon as I connect to the VPN, the issue goes away. It appears that my local GIT has installed some reference to my H drive which I never use. But since it is mapped as the home drive, sourcetree, which is using git, is now dependent upon my H drive. I haven't made the change yet to fix it, but I believe I may have to change the default home drive, then reinstall git.
There are many practical problems with using a DVCS (git/mercurial) to manage pseudo-local repositories (such as network storage). This is a Git issue, not a SourceTree one. This post has a similar issue and links to even more questions.
I STRONGLY recommend having your repository actually be local, and add this network location where you also want your files to live as a remote that you can push to.
Feel free to explain any reasons why that doesn't work for your particular situation.
All my local repositories are stored in my C Drive. My remote repositories are located on a server in my regional data centre. I have never stored anything on the H drive SourceTree is indicating, so not sure why it suddenly started referencing this drive. As mentioned, the error shows the correct local file system's location of my repository... very odd.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG