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
Community Members
Community Events
Community Groups

How do I connect SourceTree with a private GitLab account?

My company has licensed GitLab and hosts it on a company subdomain. How can I set up SourceTree to talk to this repo host?

(I've tried several git GUI apps and none of them allow me to connect, even expensive commercial ones! The company pays a lot of money to the GitHub folks for a private host. It's really annoying that nobody has an obvious way for us to connect to it.)

1 answer

0 votes
bgannin Atlassian Team Jan 03, 2018

Sourcetree does not currently support GitLab as a hosting service. This request is tracked in SRCTREE-1037.

While you can't browse remotes or utilize any other extended integrations you are able to clone the repo via URL and use the rest of Sourcetree without restriction. 

Brian Ganninger
Senior Mac Developer, Sourcetree

The question isn't so much about supporting "GitLab" but rather the ability to support any remote host.

That said, it magically started to support my remote host, apparently finding the details for it in my <project>/.git/config file after I set up Tower to connect to it.

So it looks like it CAN support anything -- it just has no means to configure arbitrary hosts directly.

That ticket is now closed.


So there is no plan to support Gitlab?

Carisa Atlassian Team Oct 11, 2018

Hi there! SRCTREE-1037 was closed because we've added GitLab support in Sourcetree 3.0, which is now in public beta! 🙌  More info: 

@Carisa , but I still can't add private GitLab account in Sourcetree. Could you provide any instructions? 

Like # people like this

Hi @Carisa the question wasn't so much related to GitLab, but was more specifically "how can we connect privately hosted GitHub/Lab etc. instances to SourceTree?"

Any chance you could help on this?


Like DREYFUS ALOIS likes this

Well, 3 years later, I am trying to do this. Tower works fine, now trying Source Tree. but alas, gitlab CE, Enterprise or any other option does not connect to a privately hosted Gitlab. At least the Mac version. This gives me more excuses to move away from Atlassian sweet of products.

Like hendisantika likes this

I have got same issue with others. But no updates ya?


Maybe SourceTree doesn't support with private GitLab Self-Manage.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events