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)
Installing sourcetree for git in MacOSStep 1: To download the latest release of SourceTree from its official website. Step 2: Click on the Download for Mac OS X button and read their policy and click agree and click download once again. Step 3: The application will be downloaded to your downloads folder.
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:
http://git.zaid-labs.info/zaid/iosapp.git
zaid.pathan
So final URL should be http://[email protected]/zaid/iosapp.git
Note: zaid.pathan@
added before git.
Step 3: Enjoy cloning :).
If you have the generated SSH key for your project from GitLab you can add it to your keychain in OS X via terminal.
ssh-add -K <ssh_generated_key_file.txt>
Once executed you will be asked for the passphrase that you entered when creating the SSH key.
Once the SSH key is in the keychain you can paste the URL from GitLab into Sourcetree like you normally would to clone the project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With