How do I add a repo on a remote server?

I have a git repo cloned on a server (server1 - linux) somewhere. I access this machine from my mac via ssh. The associated git host (remote: origin) is located on another machine (server2 - linux). I want to view the commits/changes on the server1 without cloning the git repo into my mac (local machine). 
Can this be done via source tree? 

1 answer

I'm not sure what the correct terminology is for Macs, but if you can mount the repository from server1 as a network drive, SourceTree will probably work well enough to view the repo.

However, many users have reported issues trying to manage repos on network drives with any git client. If you want to manage commits, merges, pulls, etc, I'd recommend a local clone.

Yeah, other than a directory mounting, I don't think there's a way to use SourceTree to view a remote repo.

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

1,125 views 4 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