I'm trying to move from a fork I created on GitHub to the original repo so I can start pushing stuff there, I have the required permissions.
How can I do that?
CodePudding user response:
You have to
- add the original as a remote in your local repo using
git remote add upstream https://github.com/someuser/somerepo.git
- push to that remote instead of your fork using
git push upstream yourlocalbranch