Reputation: 2844
I performed a manual merge of two branches locally on my IDE. How can I commit the changes in a way that GitHub understands that a merge has taken place, i.e. mark the underlying pull request as merged?
Upvotes: 1
Views: 347
Reputation: 15193
Say you have master
and develop
branch locally, and you have made some changes to develop
and pushed it to the GitHub repo and then opened a PR from develop
to master
. Now if you merge changes of develop
to master
locally, then if you just push the master
branch to GitHub, the open PR would automatically be marked as Merged.
Upvotes: 2
Reputation: 137031
Just push the target branch.
As long as you've merged to the correct branch and you haven't done anything to rewrite the commits, e.g. rebasing or squashing, the pull request will be updated automatically.
Upvotes: 1