logo
  • 教程列表
  • SO官方文档
  • 合并
    • 将一个分支合并到另一个分支
    • 自动合并
    • 中止合并
    • 仅从合并的一侧保留更改
    • 合并提交
    • 查找没有合并更改的所有分支
  1. StackOverflow 文档
  2. Git 教程
  3. 合并
  4. 自动合并

自动合并

Created: November-22, 2018

当两个分支上的提交不冲突时,Git 可以自动合并它们:

~/Stack Overflow(branch:master) » git merge another_branch
Auto-merging file_a
Merge made by the 'recursive' strategy.
 file_a | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  • 中止合并
  • 将一个分支合并到另一个分支

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明