Skip to content

Sync fork with upstream by discarding redundant commits - #3

Closed
DmitrySharabin with Copilot wants to merge 6 commits into
mainfrom
copilot/sync-with-upstream-discard-commits
Closed

Sync fork with upstream by discarding redundant commits#3
DmitrySharabin with Copilot wants to merge 6 commits into
mainfrom
copilot/sync-with-upstream-discard-commits

Conversation

Copilot AI commented Mar 9, 2026

Copy link
Copy Markdown

Fork nudeps/overrides is 5 commits ahead of jspm/overrides with identical file trees (same tree hash 6ad4c19). The extra commits are redundant — duplicate fixes and merge bookkeeping that upstream already contains via separate PRs.

Redundant commits to discard

  • 24c1b2a Add package.json
  • a5ae76b Remove trailing whitespace
  • 3094f26 Fix Vue override (duplicate of upstream 4d1195a)
  • 445178c Rebase 2 upstream commits
  • ae28eca Merge branch 'jspm:main' into main

Resolution

This cannot be resolved via a normal PR merge — it requires a history reset. Two equivalent options:

Option A: CLI

git remote add upstream https://github.com/jspm/overrides.git
git fetch upstream
git checkout main
git reset --hard upstream/main
git push --force-with-lease origin main

Option B: GitHub UI

  • Go to repo → Sync forkDiscard 5 commits

Both reset main to upstream's 4d1195a, eliminating the divergent history.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

LeaVerou and others added 6 commits March 4, 2026 13:12
* Rebase upstream commits: add LICENSE (Apache 2.0), license field in package.json, and @vue/shared 3.5 null override

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI changed the title [WIP] Sync fork with upstream by discarding redundant commits Sync fork with upstream by discarding redundant commits Mar 9, 2026
@DmitrySharabin
DmitrySharabin deleted the copilot/sync-with-upstream-discard-commits branch March 9, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants