You'll have three repositories:
- Your local one checked out on your computer
- Your fork in github
- The "canonical" repo (this is just the main one under the taskcluster org. I call it canon)
On your local repo, you should have two remotes:
- origin: which points to your fork (e.g. git@github.com:imbstack/ec2-manager.git)
- canon: which points to the canonical repo (e.g. https://github.com/taskcluster/ec2-manager.git) Notice that my origin is set up with ssh so I can push to it easier and the canon is https which I think is the sort you will have access to.
Now, given that setup. To make patch for a PR:
- git checkout master
- git fetch canon
- git reset --hard canon/master
- git checkout -b
- git commit
- git push origin HEAD
- go to github and make the PR into the canonical repository