V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
gromit1337
V2EX  ›  问与答

git 怎么 revert 一个 merge commit

  •  
  •   gromit1337 · Nov 24, 2022 · 917 views
    This topic created in 1250 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   ·   3747 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:42 · PVG 18:42 · LAX 03:42 · JFK 06:42
    ♥ Do have faith in what you're doing.