Jakarta
V2EX  ›  GitHub

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

  •  1
     
  •   Jakarta · Mar 29, 2024 · 1417 views
    This topic created in 773 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   ·   4485 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:11 · PVG 18:11 · LAX 03:11 · JFK 06:11
    ♥ Do have faith in what you're doing.