0%

Git ssh

git ssh

迁移东西到新电脑了,好多指令和工具忘记了,记录……

windows

  1. 下载 git for windows
  2. 默认的vim即可,不过也支持vsc,也不错
  3. 生成sshkey,ssh-keygen -t rsa -C “email”
  4. 默认c/../usr/.ssh/…pub 导入github控制

upload successful

  1. 测试:ssh -T git@github.com

  2. 配置全局:

    1
    2
    3
    git config --global user.name "Firstname Lastname" 
    git config --global user.email "your_email@youremail.com"

Welcome to my other publishing channels