Skip to content
Discussion options

You must be logged in to vote

It sounds like your fork is simply out of sync with the parent repository’s default branch, which is why GitHub is still showing a mismatch (“2 commits ahead, 1 behind,” or a “failed” status) even though your pull request was accepted and merged upstream. You can resolve this by updating (or “syncing”) your local repository and your fork on GitHub so they match the parent repository’s latest state. Here’s how you might do that:

  1. Add the parent repository as an additional remote
    If you haven’t already, add the parent repository (the one where your PR was merged) to your local Git settings. For instance, if the parent repo is at https://github.com/example-org/example-repo.git, you can do:

g…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by johnwslongland
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Requests Propose, review, and discuss changes to a repository's codebase Question Ask and answer questions about GitHub features and usage
2 participants