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

GitHub Actions 求助, git rebase 时遇到冲突报错

  •  1
     
  •   Jakarta · Mar 29, 2024 · 1410 views
    This topic created in 769 days ago, the information mentioned may be changed or developed.
    我 fork 了一个上游仓库,然后修改了一个文件,有提交历史...A-->B-->C-->D-->E
    跟上游仓库同步时,先 git fetch upstream master ,然后 git rebase upstream/master 。
    在本地 vscode 中遇到冲突手动解决没什么问题,但是在 GitHub actions 中总是因为冲突而导致 rebase 失败。

    我的需求是能保留提交历史 A-->B-->C-->D-->E ,修改的文件以我的为准。
    请问有什么解决办法吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1129 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:04 · PVG 07:04 · LAX 16:04 · JFK 19:04
    ♥ Do have faith in what you're doing.