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

git unpatch 一次 commit ?

  •  
  •   yesmeck · Mar 31, 2012 · 4897 views
    This topic created in 5231 days ago, the information mentioned may be changed or developed.
    git cherry-pick 可以让我们从另外一个分支上拿一个 commit 过来到当前分支上,相当于在当前分支上打一个 patch 。
    那么有没有可能 unpatch 一次 commit 呢?
    比如我有一次旧的 commit 我不想要了,但是又不好 rebase ,因为已经 push 出去了。这时能不能 git unpatch commit-hash ?
    2 replies    1970-01-01 08:00:00 +08:00
    iwinux
        1
    iwinux  
       Mar 31, 2012
    revert?
    yesmeck
        2
    yesmeck  
    OP
       Mar 31, 2012
    好惭愧!!!!居然不知道这个命令。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 02:30 · PVG 10:30 · LAX 19:30 · JFK 22:30
    ♥ Do have faith in what you're doing.