打开git bash界面,输入:

ssh-keygen -t rsa -C "[email protected]"

一路回车,后续保持默认值即可。

把C:\users\yourname\.ssh\id_rsa.pub文件内容粘贴到github中的个人配置安全认证中。

04-27 00:18