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

SourceTree Mac and Gitlab CE

Is there any possibility to connect ST on Mac with Gitlab CE account?

I tried everything, but no luck

1 answer

Yes, you can. 

1) Go to SourceTree Preferences ->  Accounts
2) Press Add... button
3) Fill all fields BUT in the "Password" field you must to enter personal access token!

Creating a personal access token

You can create as many personal access tokens as you like from your GitLab profile.

  1. Sign in to GitLab.
  2. In the upper-right corner, click your avatar and select Settings.
  3. On the User Settings menu, select Access Tokens.
  4. Choose a name and optional expiry date for the token.
  5. Choose the desired scopes.
  6. Click the Create personal access token button.
  7. Save the personal access token somewhere safe. If you navigate away or refresh your page, and you did not save the token, you must create a new one.


Thanks, but when I give all credentials, still got this:

We couldn't connect to GitLab CE with your (MarekBakalarczuk) credentials. Check your username and try the password again.

Did you create access token in GitLab with all scopes? You must to use it password field. Its look like "W543dfG3zQddsd6kMq29Z"

Yes I did. But it look like  "sd1fafYMPBYQ5za-xfsm"

OK. I did token again and it has proper format. 

But still I cannot make an account. 

Maybe it is username matter? It has to be a Gitlab CE login or profile user name?

Or maybe I need to enable two-factor authentication?

username must be a Gitlab CE login

in my Gitlab i has no two-factor authentication

It is not working either. Thanks anyway.

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,970 views 0 12
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