An external contributor's PR has conflicts, but they are unresponsive. What do you do as a maintainer?
IntermediateScenarioRemotes, Collaboration and Pull Requests
Answer
Situation read → The change is valuable but stuck.
What I'd do →
- If "Allow edits by maintainers" is on, check out the PR with
gh pr checkout <n>. git fetch origin && git rebase origin/main(or merge), resolve conflicts and test.git pushto the contributor's branch; the PR updates and keeps their authorship.- If edits are disabled, re-create the work on your branch and keep their commits with
Co-authored-by.
Why → Preserving authorship respects the contributor and keeps the contribution history honest.
Interview tip → Thank them in the PR; it matters for open-source community health.
More on Remotes, Collaboration and Pull Requests
You are new to a team. How do you collaborate daily without stepping on others' toes?BeginnerYou are migrating a repo from Bitbucket to GitHub and must keep every branch and tag.IntermediateYou want to contribute a fix to an open-source project you do not have write access to.BeginnerA teammate sent a 3,000-line PR and nobody can review it properly.IntermediateA reviewer asks for changes. How do you update the PR cleanly?BeginnerYour team wants stacked PRs so that large work arrives in small reviewable steps. How do you set it up?Advanced