phptorm 集成git和gitlab和一些命令
mac:
2.phpstorm->csv->create git...
3.命令:ssh-keygen -t rsa -C"your_email@youremail.com"(gitlab中的密码)
//直接按3次回车选择无密码
在$ cat ~/.ssh/id_rsa.pub中自动生成了key的值,直接复制结果到上述的key输入框中,最后确定添加即可
-》整体复制到gitlab 下SSH keys-〉title最后重新起名
4.phpstorm->Git->clone 会有确认密钥,点击确定
一些命令转: