github如何将本地目录与远程仓库关联

1、在本地创建ssh key $ ssh-keygen -t rsa -C "[email protected]" 在用户主目录(C盘中“用户”下会生成.ssh文件,里面有id_rsa和id_rsa.pub两个文件,id_rsa是私钥,不可告诉别人,id_rsa.pub是公钥,复制 2、登录你的github账户,Account Settings ——> SSH Key——>new SSH key
相关文章
相关标签/搜索