ssh-keygen -t rsa -C "GitHub账号" ,一直Enter下去生成公钥如下所示:
然后到gitHub设置公钥
gitHud设置公钥
原文:https://www.cnblogs.com/riyueqian/p/13272930.html