Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to connect to GitLab CE

Arief Setiyo Nugroho October 12, 2018

Hi,
i can't connect to my gitlab CE with sourcetree,
how to configure it??

Thanks before,

[SourceTree] - Can't Connect.png

4 answers

1 accepted

5 votes
Answer accepted
Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2018

You will need to generate a personal access token on your gitlab server and use that here. You can click on the link in "How do I create a personal access token?" and follow the instructions. 

Arief Setiyo Nugroho October 15, 2018

ok, I allready have personal access token, now how to use it on sourcetree?

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2018

Just click the "Refresh personal access token" and you should be able to enter your username, and the token as the password.

Like davidkingvoyager likes this
Arief Setiyo Nugroho October 16, 2018

Oh OK, it works. Thanks all. :)

6 votes
Cesar Hernandez November 10, 2018

I have been turning crazy, and finnally do it. So, I will try to explain it in details.

 

1. At GitLab create a personal token.

2. At SourceTree, Add a new account, then, select GitLab, and Preferred Protocol SHH.

3. Click Refresh Personal Access Token, and enter the username and in the field of the pasword enter the token that we generated at GitLab.

 

This was the trick.

 

Thanks to all for helping.

saber13812002 January 26, 2019

worked for me thanks a lot. but why didnt work by my password ,i know my password is correct. but this token worked. 

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 7, 2019

If I'm not wrong, gitlab doesn't allow REST operations over basic auth password. You will need the Private token for this to work. 

1 vote
AntonyRusST March 14, 2019

ОК. Спасибо большое!

У меня также заработало (Добавил токен, скопировал его, добавил в SourceTree пользователя и дал в пароле скопированный токен)

0 votes
John McKiernan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 29, 2020

Hi all, 

Just wanted to update this thread to let you know there is now a native automation trigger for GitLab with Jira Cloud. We are running a webinar soon to walk through how it works and show some use cases in how to automate from Gitlab to Jira. Feel free to register here: https://www.atlassian.com/webinars/software/automate-across-gitlab-and-jira

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events