sourcetree配置ssh

1.  git config --global user.name "xiaoMing"
2. git config --global user.email "[email protected]"
3. cd ~/.ssh
4. ssh-keygen -t rsa -C "[email protected]"
5. 打开finder,到这个路径下 ,  ~/.ssh, 复制里面公钥即可

你可能感兴趣的:(sourcetree配置ssh)