1 git init  #初始化
2 git add README.md #创建readme
3 git commit -m "first commit" #确认修改
4 git remote add origin https://github.com/TigerEatGrass/shipyard.git #与远程建立关系
5 git push -u origin master #推送修改
6 git config --global user.name lijianzhi
7 git config --global user.email lijianzhi@baidu.com

 

Git知识图谱:https://segmentfault.com/a/1190000002533334

简明指南:http://rogerdudler.github.io/git-guide/index.zh.html

相关文章:

  • 2021-08-08
  • 2021-11-30
  • 2021-08-10
  • 2021-08-18
  • 2022-02-08
  • 2021-09-28
  • 2021-09-06
猜你喜欢
  • 2021-11-08
  • 2021-10-11
  • 2022-12-23
相关资源
相似解决方案