如果要把当前分支合并到其他分支master

1.把当前自己分支的东西提交上去

git status

git add -A

git commit -m '注释'

git push

2.首先要知道当前分支是谁

git branch -a

 

3.切换分支到master

git checkout master

4.查看切换的结果

git branch -a

5.把分支master拉下来

git pull origin master

6.合并分支,把A分支合并到当前分支master

git merger A

相关文章:

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