git网站是进不去的需要加权限才能进去!!!!!!!!
登录进去后
ssh-keygen -t rsa -C "gitlab用户名一般是邮箱"
一路设置好
Use the code below to show your public key.
注意mac要用自带的iterm
cat ~/.ssh/id_rsa.pub 可以查看到ssh-key
再将ssh-key复制粘贴到你个人setting----profile的ssh(钥匙) tab下 ----add SSH Key进去就好了
Copy-paste the key to the 'My SSH Keys' section under the 'SSH' tab in your user profile. Please copy the complete key starting with ssh- and ending with your username and host.
基本就成功了