git生成秘钥github配置秘钥
2018-03-27 本文已影响0人
从前慢pearl
1,用户名 && 邮箱
git config --global user.name "liucol"
git config --global user.email "1545766219@qq.com"
2,生成秘钥
ssh-keygen -t rsa -C “1545766219@qq.com”

复制生成的秘钥到github上

git config --global user.name "liucol"
git config --global user.email "1545766219@qq.com"
ssh-keygen -t rsa -C “1545766219@qq.com”