git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
moroumo
V2EX  ›  git

Git 能挑选commits进行merge代码吗?

  •  
  •   moroumo · Oct 24, 2013 · 4390 views
    This topic created in 4654 days ago, the information mentioned may be changed or developed.
    比如:
    master上有:
    commit 5
    commit 4
    commit 3
    commit 2
    commit 1

    branch test上有:
    commit 2
    commit 1

    我想从master往test上只merge commit3和commit5,改如何操作?
    查了些文档,没搞定。
    3 replies    1970-01-01 08:00:00 +08:00
    ShadowStar
        1
    ShadowStar  
       Oct 24, 2013
    cherry-pick
    stevenyou
        2
    stevenyou  
       Oct 25, 2013
    cherry-pick +1
    disney2002
        3
    disney2002  
       Oct 26, 2013
    cherry-pick +2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:44 · PVG 03:44 · LAX 12:44 · JFK 15:44
    ♥ Do have faith in what you're doing.