本地先commit

1. git rebase  origin/master    根据你自己的分支rebase

2. 编辑冲突文件,合并文件。例如:

<<<<<<< 53de7c8f172f73b1fbd0c8f11e5c03f424f7f3c6

合并测试
=======
去年
买了
个表
>>>>>>> test

3. git rebase --continue

4. git add ,git commit 提交即可

 

参考http://www.cnblogs.com/sinojelly/archive/2011/08/07/2130172.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2022-01-17
猜你喜欢
  • 2022-01-17
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案