How to add a remote when it's not hosted on one of the 4 you list

Our enterprise has it's own GIT server where we keep repositories. I need to be able to add a repository from that as a remote.

i.e. git remote add devproj git://mydomain.com/opt/git/devproj.git

Seems that the only remote hosts I can configure are the 4 you provide in the dropdown. How am I to add my own remote?

3 answers

Hey Ken,

Just add a repository and put your Git URL in it. You can do this from the bookmarks view on both Mac and Windows by just hitting the repository icon that has a "+" in it. Alternatively go to File > New/Clone.

Cheers

Think I've figured this out. Menu: Repository > Add Remote

Allows me to add the remote URL there. That then lists the repository to enable me to push to it.

File > New / Clone or clicking the + icon on bookmarks does not work. I am using SourceTree 1.8.1.

If I follow the above path, I get error under the Source Path / URL field that says.."invalid URL". If I clicke the globe icon to browse... I get 4 options only, none of which allow me to properly enter our private git address.

If you click on the 'details' button when that error message appears it will tell you what's wrong.

Cheers

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

798 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