Use a remote repository that is personally hosted without cloning it?

At work we have an central git repository for our web app, and each developer has a clone of it on a VM where they do work. Is there a way to connect Source Tree to the remote repository without making a local clone of that repository?

1 answer

1 accepted

Short answer, no.

Thechnically, you could mount the remote repository as network storage, but this is error prone. See this question, and the others linked from it:

Thanks for the quick response. Would you happen to know of git gui that has this feature or if its planned for SourceTree?

It's not a Git GUI problem, it's a Git problem. The foundational, command-line software is the source of those errors. The developers of Git would probably tell you that trying to manage a git repository on network storage is exactly what git was designed to avoid, regardless of your specific situation. Regardless, someone could, theoretically, develop a Git GUI that connected to a remote server over SSH and issued Git commands there. I don't know of any though.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

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 ...

251 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot