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

  • 關於本站
  • 免責聲明