Adding a git working copy located on sshfs volume

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
'

2 answers

1 accepted

This widget could not be displayed.

Hi there,

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!

Yes, it's a test box sitting under my desk. rsync it is, then! It's a Linux box or I would just run SourceTree there, but I'm too spoiled to want to do all my merging and stuff via command line :)

This widget could not be displayed.

you can use expandrive sourcetree works with it

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

151 views 16 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you