Reputation: 304
I forked a repo and worked on one of its branches. From there, I created a new branch, e.g. newB1 and pushed the changes there. I see the newB1 in my forked repo, but it does not appear to the original repo. How do I push this new branch to the original report as well?
Upvotes: 1
Views: 703
Reputation: 41
Everybody can create a fork. But only the repo owner/maintainer has permission to push commits to the original repo.
So you have to create a pull request, to notify the owner/maintainer about the change in your fork. The maintainer then does a review, and decides whether to push if your change is worthy.
This is the workflow, to keep the quality of the original repository.
Upvotes: 4