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

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

883 views 2 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