gromit1337
V2EX  ›  问与答

git 怎么 revert 一个 merge commit

  •  
  •   gromit1337 · Nov 24, 2022 · 1070 views
    This topic created in 1332 days ago, the information mentioned may be changed or developed.
    error: commit 1c4d08e is a merge but no -m option was given.
    1 replies    2022-11-24 20:48:35 +08:00
    gujuji
        1
    gujuji  
       Nov 24, 2022
    这是一个合并请求所以你要添加-m 参数来回滚那个分支的代码,百度搜一下就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2757 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 13:26 · PVG 21:26 · LAX 06:26 · JFK 09:26
    ♥ Do have faith in what you're doing.