ssh进行git远程仓库下载与连接
$ git config --global --list
fatal: unable to read config file 'C:/User/.gitconfig': No such file or directory
git config --global user.name zzl14 git config --global user.email "email" 生成公私钥ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Your identification has been saved in /c/Users/23274/.ssh/id_rsa
Your public key has been saved in /c/Users/23274/.ssh/id_rsa.pub
添加公钥到ssh的仓库设置中。
然后下载 git clone git@github.com:name/repository.git

浙公网安备 33010602011771号