The "Update branch" button is missing on PRs #214578
Replies: 4 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
I am seeing the same in repos where I would normally see an update button. |
|
You're not the only one, @adiati98: @RCheesley sees it too. While it's being looked at, you can still update a PR branch without the button. GitHub CLI (does the same thing as the button): gh pr update-branch 123 # merges the base branch into the PR branch
gh pr update-branch 123 --rebase # rebases insteadREST API: gh api -X PUT repos/OWNER/REPO/pulls/123/update-branchLocally: git fetch origin
git switch your-branch
git merge origin/main # or: git rebase origin/main && git push --force-with-lease
git pushOne setting worth checking. In some repos the button only shows up when Settings → General → Pull Requests → "Always suggest updating pull request branches" is turned on, or when branch protection requires branches to be up to date. If it's off in a repo where you used to see the button, turning it on may bring it back. If it's already on and the banner still says "out-of-date" with no button, that's a UI bug, and the commands above work until it's fixed. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
I hope the button name is right. When a PR branch is behind the base branch, I usually click the button to update the branch. But today, I don't see this button anywhere. Please see the screenshot.
Am I the only one to experience this, or this is a bug that hasn't been addressed? TIA! ✨
All reactions