初始化

  git init

添加远程仓库

  git remote add origin[仓库名] 仓库地址

添加文件

  git add .

本地提交

  git commit -m 'message'

拉去远程代码并和本地合并

  git pull origin master

提交代码到github上

  git push -u origin master

相关文章:

  • 2021-04-06
  • 2021-12-08
  • 2022-12-23
  • 2022-01-07
  • 2021-07-07
  • 2021-06-01
猜你喜欢
  • 2021-05-23
  • 2021-11-28
  • 2021-08-10
  • 2021-10-23
相关资源
相似解决方案