windows 设置 ssh key 沈梦研 2022-11-18 70 阅读1分钟 cd ~/.ssh/ git config --global user.name "yourname" git config --global user.email "youremail" ssh-keygen -t rsa -C "youremail" cd ~/.ssh cat id_rsa.pub ssh-rsa开头,邮箱结尾的几行字, 粘贴复制添加到git即可