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

244 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