V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
chuangbo
V2EX  ›  git

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

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