git

一 生成ssh公钥秘钥
ssh-keygen -t rsa -C "mail@youremail.com"

回车之后会有三次提示你输入信息 直接什么也不需要填 按三个回车就好了
这时看到了下面的矩形方框 就代表sshkey生成ok了

二 偶尔遇到的错误,要加个配置
git config --global init.templatedir "D:Program FilesGitmingw64sharegit-core emplates"

三 git的全局配置在用户目录
原文地址:https://www.cnblogs.com/stromluo/p/9148017.html