![]() ![]() Navigate to the GitLab repository you want to cloneĤ. Restart your Sourctree if it’s already running, so that it can obtain the SSH key from your systemģ. Add ssh key to your local machine using commandĢ.In order to get Sourctree working with Gitlab follow the below mentioned steps ‘Home mac’, ‘Work system’ etcĪs we are using 2 factor authentication, there are more troubles setting up sourcetree for Gitlab. Navigate to ssh section of your profile.To generate a SSH key pair, read the instructions described on this page, and use the commands specified to generate the required key pair. If you see a string starting with ssh-rsa you already have an SSH key pairĪnd you can skip the section to generate new SSH keys Windows type %userprofile%\.ssh\id_rsa.pub Following steps with help you to generate and enable SSH keys ![]() Using SSH we can push/pull commits to our GitLab repositories using Sourcetree. Secure Shell ( SSH ) provides a mechanism to handle authentication between your local and remote repositories without providing your username or password. Don’t forget to back up your recovery codes.I personally prefer ‘Google Authenticator app’ to setup 2fa ( Android/ iOS) Navigate to account section of your profile GitLab belongs to Code Collaboration
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |