I have a second drive mounted (via sshfs) and am trying to add a working copy of a git repo located on the volume.
I add the bookmark and paste in the path /Volumes/Desktop/repos/src/foo-repo
The indicator appears below the field "This is a Git repository", so I know things are working okay up to this point.
When I click Add, the repo appears in my bookmarks, but its status icons (e.g. branch) do not appear.
When I open the repo from my bookmarks, I receive the error:
'git status' failed with code 128:'fatal: Could not chdir to '../../src/foo-repo': No such file or directory '
Unfortunately working with network mounted volumes for managing your repositories is problematic. It's slow and causes corruptions. They basically 'sort-of' work. This isn't to do with SourceTree, it's a network file system issue where operations cause corruptions due to the underlying protocol. Your repository usually is successfully identified, but anything after that can cause problems and it's impossible for us to be able to cater for the problems resolving around the underlying tech.
This issue has been reported quite a lot, the best solution is to instead rsync your files to the remote volume as I'm assuming you're using it for testing? Then once it's worked you can commit from there. There's other options too, but that's the simplest.
Hope that helps, if not, feel free to ask more questions!
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs