Using sourcetree from windows to open a heroku git repository

Hi There

I'm still new to github and heroku and I'm trying to access a heroku git repository from the sourcetree windows client.

I managed to connect to a public github repository just fine, and I have installed heroku toolbelt and authenticated myself successfully, but I can't figure out the format of the url to put in source path/url.

It would come out of this:, how do I convert that into a valid url? I have tried many many variants thus far :)

2 answers should be a valid URL, but since it's an SSH URL then it will be dependent on you having your SSH key configured correctly. I normally use Pageant for this (the SSH agent that holds your keys in PuTTY format) but you can also use OpenSSH too if you want, the settings are in Tools > Options. You can also launch Pageant from the Tools > Launch SSH Menu option in SourceTree, and also generate or import keys using the Tools > Create or Import SSH Keys menu.

FYI when SourceTree says something is an invalid URL you can normally get more information by clicking the 'Details' button. I'm assuming that it's an authentication error right now.

Even though I'm using an SSH key, the only way I managed to clone the git repository was to use, which in your case is I'm not sure if it made a difference, but I gave up trying to use SourceTree and did the clone initially using the Heroku Toolbelt, but afterward I knew the URL, doing the initial clone through SourceTree also worked.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

87 views 0 11
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