Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Pull Requests Automatically Get Updated?

I have a github repo on my personal github account called docs. I've forked that from another github repo that is the primary of these docs.

Last week, I made a bunch of changes to a branch on my personal github and made a pull request to the primary. (the server I originally forked).

They have not merged that pull request yet.

I've made some more changes to the same branch.

My question is do I need to do anything to get my latest changes in or are they pulling from my personal repo?

When I went to the github UI, it was not obvious how to create another pull request and then invalidate the first one.

Sorry if this is confusing.

like image 620
Peter Kellner Avatar asked Sep 10 '26 13:09

Peter Kellner


1 Answers

As far as I know, if you have an outstanding pull request in GitHub, and you want to update the source (feature) branch, all you need to do is push again and the pull request will update automatically.

This is the default behavior at least, unless your admin has done something to change this. Other Git repositories, such as Bitbucket, also behave this way.

like image 115
Tim Biegeleisen Avatar answered Sep 12 '26 16:09

Tim Biegeleisen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!