git跟新gitbub的代码(首次跟新步骤)

git跟新gitbub的代码(首次跟新步骤)

git跟新gitbub的代码(首次跟新步骤)

git跟新gitbub的代码(首次跟新步骤)

git跟新gitbub的代码(首次跟新步骤)

git跟新gitbub的代码(首次跟新步骤)


git跟新gitbub的代码(首次跟新步骤)

然后切换到devwd  



 工作用的git 命令符【上传】 
 一 在没有冲突的情况下
 1 git add .(将自己的项目添加到本地git仓库)
 2 git commit -m "备注内容"
 3 git checkout develop ( 切换到远程git仓库)
 4 git  pull( 将远程仓库的代码先跟新)
 5 没有出现冲突的情况下 git merge --no-ff devZY    这句话的意思是把本地分支的代码合并到你现在所处的分支上
 6 git push
 
 二 在有上传的冲突的情况下
  1 git add .(将自己的项目添加到本地git仓库)
 2 git commit -m "备注内容"
 3 git checkout develop ( 切换到远程git仓库)
 4 git  pull( 将远程仓库的代码先跟新)
 5 出现冲突的情况下 git checkout devZY(切换到本地git仓库)
 6 git merge --no-ff  develop (在本地将远程仓库的代码合并)
 7 解决冲突
 8  重复一的操作
 



相关文章:

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