Git一套操作

  • git init                                      初始化

  • git remote add origin xxx      关联远程仓库分支

  • git pull origin xxx                   从远程仓库指定分支拉取最新代码

  • git add                                     将修改的文件添加到工作区

  • git commit                               提交

  • git push origin master(本地分支):develop(远程分支)       将代码推到远程仓库

猜你喜欢

转载自blog.csdn.net/Tommy5553/article/details/101758842