sourcetree配置

GIT bash:

    ssh-keygen -t rsa -C "[email protected]"

 cat ~/.ssh/id_rsa.pub

Gitlab添加新生成的SSH keys

配置SSH密钥

openssh客户端

ssh密钥:上面命令生成的文件。

git bash:

git config --global user.email [email protected]

git config --global user.name 用户名

 

猜你喜欢

转载自angelguo.iteye.com/blog/2362123