github账户关联所在机器公钥即可:
cd $HOME/
cd .ssh/
如果id_rsa.pub不存在,重新生成:ssh-keygen -t rsa
将id_rsa.pub添加到github账户的SSH密钥列表中
# key-free development
git remote -v
git remote remove origin
git remote add origin [email protected]:YourGroup/YourGitRepo.git
git pull
git branch --set-upstream-to=origin/master master
git pull
原文地址:https://www.cnblogs.com/yaoyaohust/p/11058354.html
时间: 2024-10-09 07:44:37