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

1 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

946 views 3 2
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