How can I pull new commits to the created PR? #22798
-
Previously when adding a commit to a branch the commit was automatically added to the PR |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @sanchezzzhak! 👋 Welcome to the Community! I don’t believe this behavior has changed recently? Are you making changes to a branch in a repository you own, and pushing them up to the version on GitHub? Those commits should get added to the PR automatically. If you’re pushing to a branch in a fork of your repo, however, it could be that the person that opened the PR is not allowing anyone to push to their branch? |
Beta Was this translation helpful? Give feedback.
-
Everything is fine, after an hour or more of time, my commits were added. The issue is closed, false alarm. |
Beta Was this translation helpful? Give feedback.
Hi @sanchezzzhak! 👋 Welcome to the Community!
I don’t believe this behavior has changed recently? Are you making changes to a branch in a repository you own, and pushing them up to the version on GitHub? Those commits should get added to the PR automatically.
If you’re pushing to a branch in a fork of your repo, however, it could be that the person that opened the PR is not allowing anyone to push to their branch?
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork