I have the following situation:
- A software hosted at github.
- 4 developers, each have his own fork in github.
- Each developer creates and develops using branches in his own fork.
Given that we use branches to develop, we want to merge our branches (in our forks) to the upstream repo. How do I merge in github without using pull request? Is it possible to merge to upstream from my own fork?
git push upstream masterReplacing
upstreamwith whatever you named your github remote, andmasterwith the branch on github you want to push to.If you don’t currently have a remote pointing at the shared repo, you may need to do
git remote add upstream {url}edit in response to comment
If you want to merge branches, do that in your local repository first: