Accessing git with an SSH keypair on OS X
To set up initially, in terminal:
mkdir ~/Documents/.ssh
ssh-keygen -t rsa -N "" -f ~/Documents/.ssh/id_rsa
cat ~/Documents/.ssh/id_rsa.pub | pbcopy
Log into gitlab then click on the icon at the top right of the page, choose Settings and then SSH keys from the menu on the left.
Click in the Key box and press Cmd+V (paste) then click Add key.
Then at the start of your session go into terminal and type:
ssh-add ~/Documents/.ssh/id_rsa
and you should then be able to use git without entering a password. If a git command asks you for a password something has gone wrong with this key setup, so get in touch.