Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

In my company uses a proxy server to connect the internet, i unable to connect cloud repository?

In my company, proxy server is use to connect internet. because of that i unable to connect to cloud repository by using sourcetree. Please let me know if it have any method to connect repository under mentioned conditions.

1 answer

0 votes
Daniel Eads Atlassian Team Dec 31, 2019

Hey there, welcome to the Atlassian Community!

Using a forward proxy with Sourcetree can be done. How you go about it depends on if you're on Windows or MacOS. Do note that you'll need to use HTTPS when connecting to Bitbucket rather than SSH in order for the proxy settings to apply properly.

It's fairly friendly to set up a proxy in Sourcetree for Windows. From the Tools menu in Sourcetree, click Options (bottom choice in the Tools menu). Once the options menu is up, flip to the Network tab and you can choose between the proxy configured in Windows, or manually configure it directly in Sourcetree.



On the MacOS side, it's still possible but slightly more difficult. You'll need to manually configure the proxy via text settings, which is described in depth over at this post. Here's the steps briefly:

  1. Open ~/.gitconfig for editing on your local computer with the text editor of your choice
  2. Add a line for your proxy settings, substituting the url/username/password/port:
    proxy =
  3. Save the file and re-open Sourcetree


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,020 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you