GITHUB 终端命令

版权声明:Coder Bruce https://blog.csdn.net/bruceyou1990/article/details/80184474

1 终端生成 SSH

  1. cat ~/.ssh/id_rsa.pub
  2. 生成新的 ssh ssh-keygen -t rsa -C “[email protected]” -b 4096
  3. pbcopy < ~/.ssh/id_rsa.pub

GITHUB配置SSH
第一步
图一
第二步

这里写图片描述
第三步
这里写图片描述

从github获取代码


git clone https://github.com/bruceyou1990/UIButtonCategpry.git


提交代码到github


  1. cd/
  2. git init
  3. git add README.md
  4. git commit -m “first commit”
  5. git push -u origin master

猜你喜欢

转载自blog.csdn.net/bruceyou1990/article/details/80184474