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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

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

649 views 0 4
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