SSH配置
配置用户名
git config --global user.name "qinhaoda"
配置email
git config --global user.email "qinhaoda@jd.com"
生成ssh公钥
ssh-keygen -t rsa -C "qinhaoda@jd.com"
将生成好的/root/.ssh/id_rsa.pub文件中的内容复制到sshkeys中
解决配置ssh公钥后,每次都要输入用户名和密码
git config --global credential.helper store