gromit1337
V2EX  ›  问与答

git 怎么 revert 一个 merge commit

  •  
  •   gromit1337 · Nov 24, 2022 · 994 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   ·   2857 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 04:10 · PVG 12:10 · LAX 21:10 · JFK 00:10
    ♥ Do have faith in what you're doing.