GitHub配置SSH Key
  生成ssh key
 ssh-keygen -t rsa -b 4096 -C "1078937580@qq.com"
 1
 从剪贴板复制公钥
 clip < ~/.ssh/id_rsa.pub
 1
 通过命令行测试能连接成功github,使用TortoiseGit提示没有权限的解决方案
 
  全局配置Git仓库的用户名密码
 git config --global user.name 'testName'
git config --global user.email 'email@xx.com'
 1
2