Is it possible to make pull requests between two different Github repositories? For example, if I have a branch called new-feature
in Repository A, can I create a pull request and merge the changes into the master
branch in Repository B?
Merging across repos is possible in git, but I can't find anything suggesting that Github supports it.
Is it possible to make pull requests between two different Github repositories? For example, if I have a branch called new-featurein Repository A, can I create a pull request and merge the changes into the masterbranch in Repository B? Merging across repos is possible in git, but I can't find anything suggesting that Github supports it.
For example, if I have a branch called new-featurein Repository A, can I create a pull request and merge the changes into the masterbranch in Repository B? Merging across repos is possible in git, but I can't find anything suggesting that Github supports it.
By default, in public repositories, any user can submit reviews that approve or request changes to a pull request. Organization owners and repository admins can limit who is able to give approving pull request reviews or request changes.
Click "Fork" on the upstream project's GitHub page. After the forking process is complete, clone that repository to your local computer (I'll call this "the forked repo"). Copy all changed files from the copied repo into the forked repo. Verify that it's working as you expect, then look at the changes using git status and git diff and commit them.
The following would merge the changes of ProjectA with the ProjectB
# go to projectB:
git remote add projectA path/to/projectA/NewFeature
git fetch projectA
git merge projectA/master
Now Push these changes to your github ProjectB repository.
git push origin master
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With