Connecting to Git with Gitfiend
To use gitlab with gitfiend you will need to first login to the server (10.139.0.33) with your ASURITE ID and password. Once logged in, you will want to make sure you generate an SSH key on this host. Skip this step if you have already done this in the past.
ssh-keygen
This will give you an output showing you where the new key that you just generated is located. by default this is located at…
/home/ASURITE/.ssh/id_rsa.pub
Next you will want to login to gitlab “gitlab.rc.asu.edu” and go to your profile.
Once here, select SSH keys
Then add the ssh key you just generated (the id_rsa.pub) here.
Once you have added your ssh key to the gitlab profile, you will need to ssh to the gitlab server to make sure the server is added to your authorized hosts file.
ssh git.rc.asu.edu
This will require you to accept the host and input your password.
Once you login here, you can close the connection and go back to the GUI to find the “GitFiend” which is under the programming drop down or you may run “gitfiend” from the cli
gitfiend
Once in the application you will want to select “Clone Repository” which will ask you for two pieces of information
note - the URL you will want to use is the git@git.rc.asu.edu, not the https url. Select the folder you want to store it on the machine locally and hit clone. You can find this under the “clone” drop down on the individual git repository page on git.rc.asu.edu
Once you have done this, you will have the local clone of the gitlab repository on your machine and can work with this as you would on any other system.