SSH 生成Key
git bash 命令行輸入命令
ssh-keygen -t rsa -b 4096 -C "[email protected]"
輸入命令後會有Enter file in which to save the key
直接回車,回車,還是回車最後就會生成相關的密鑰key
最紅生成的文件C:\Users\用戶名.ssh目錄下
最後將id_rsa.pub 文件內容複製到,github上確定
最後在命令行中clone代碼就可以,如果遇到
The authenticity of host 'github.com (13.250.177.223)' can't be established.
直接輸入Yes就可以。