Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,370,160
Community Members
 
Community Events
168
Community Groups

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.

image.png

 

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:
    [http]
    proxy = username:password@proxy.example.com:80
  3. Save the file and re-open Sourcetree

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events