gromit1337
V2EX  ›  问与答

git 怎么 revert 一个 merge commit

  •  
  •   gromit1337 · Nov 24, 2022 · 1058 views
    This topic created in 1326 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   ·   3314 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.