git初始化

1. 配置用户名和邮箱

只是标识,不做验证之用。

git config user.name "suibian"(配置用户名)(查看用户名命令git config user.name)
git config user.email "12345@xx.com"(配置邮箱)(查看邮箱命令git config user.email)

  

2. 生成 ssh key

ssh-keygen -t rsa -C "youremail@example.com"

  

 

posted @ 2018-12-12 10:54  路边的十元钱硬币  阅读(112)  评论(0编辑  收藏  举报