How to integrate sourcetree for gitlab

Wagh picture Wagh · Dec 19, 2014 · Viewed 99.9k times · Source

I worked on github and integrated it to sourcetree (MAC version) for one of my project. I would like to use sourcetree for GITLAB. But I am not able to add remote of gitlab to source tree. In Repository settings, Only I can see host type as "unknown", "bitbucket", "github" & "stash". I used unknown but it won't help me.

Sourcetree Version 2.0.4 (2.0.4)

enter image description here

Answer

Mohammad Zaid Pathan picture Mohammad Zaid Pathan · Oct 10, 2016

This worked for me,

Step 1: Click on + New Repository> Clone from URL

Step 2: In Source URL provide URL followed by your user name,

Example:

  • GitLab Repo URL : http://git.zaid-labs.info/zaid/iosapp.git
  • GitLab User Name : zaid.pathan

So final URL should be http://[email protected]/zaid/iosapp.git

Note: zaid.pathan@ added before git.

Step 3: Enjoy cloning :).