I'd like to be able to submit pull requests back to the origin on GitHub
That means:
- fork that project on GitHub
- add a remote named
upstream
in order to fetch any new modifications from the original repo - change the remote named
origin
for "fork
" in order to reference your own fork on GitHUb - add a remote named
origin
referencing your private BitBucket repo - make your private modification in a dedicated branch.
That way, you are still being able to:
- make pull request: simply push a dedicated branch to your "fork" remote, and do a pull request from that branch
- make private modification that you would push to your BitBucket private repo