git本地版本库关联github远程版本库

(1)linux机器上生成SSH Key $ cd $HOME $ cd .ssh $ ssh-keygen -t rsa -C "[email protected]"   上述命令生成私钥id_rsa和公钥id_rsa.pub (2)将公钥添加到github 假定已经申请github账号,登录账号,如下点击setting 然后复制id_rsa.pub中的内容添加New SSH key (3)gi
相关文章
相关标签/搜索