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

如何撤销一个错误的合并?

  •  
  •   chuangbo · Feb 28, 2011 · 14927 views
    This topic created in 5729 days ago, the information mentioned may be changed or developed.
    4 replies  •  1970-01-01 08:00:00 +08:00
    chuangbo
    chuangbo
    OP
    Feb 28, 2011
    1
    Done, just:
    git reset --hard HEAD^
    m4ker
    m4ker
    Mar 1, 2011
    2
    git revert
    m4ker
    m4ker
    Mar 1, 2011
    3
    已经解决了....
    oppih28
    oppih28
    Sep 12, 2012
    4
    @chuangbo 请问再要撤销前面的怎么做?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1273 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
    ♥ Do have faith in what you're doing.