gromit1337
V2EX  ›  问与答

git 怎么 revert 一个 merge commit

  •  
  •   gromit1337 · Nov 24, 2022 · 993 views
    This topic created in 1290 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   ·   2741 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 02:20 · PVG 10:20 · LAX 19:20 · JFK 22:20
    ♥ Do have faith in what you're doing.