git-notes

  1. 添加公钥

    ssh-keygen -t rsa -C "你的邮箱地址"

    三次回车生成密钥对

    公钥:id_rsa.pub

  2. 复制公钥内容,粘贴到gitee或者github上面去

  3. 输入ssh -T git@github.com 或者 ssh- T git@gitee.com

  4. git 配置账号

    1
    2
    git config --global user.name "yourName"
    git config --global user.email "yourEmail"
  5. github 保持Acess Token登陆

    git config --global credential.helper store


git-notes
http://tang895.github.io/2023/04/14/git-notes/
作者
TangYijun
发布于
2023年4月14日
许可协议