Git 快速入门基础设置

37 阅读1分钟
  1. 设置用户名+邮箱
  2. 设置 ssh
  3. 添加 sshgitee github
git  config --global user.name "cjxxx"

git config --global user.email "xxxxx@qq.com"

ssh-keygen -t rsa -C "xxxxx@qq.com"

// 添加到 gitee github 中后执行
ssh -T git@gitee.com