Install the following programs and configure them with permissions to access your GitHub profile:
These scripts assume the following two remotes exist:
origin
: your forkupstream
: the upstream repository
Using git-land.sh
:
- Create a branch for your change:
git checkout -b foo
- Push branch:
git push -u origin foo
- Create pull request:
hub pull-request
- Land pull request:
git-land.sh foo
Merging a pull request:
- Create rebased branch for pull request:
git-pr-checkout.sh 1234
- Push pull request:
git-pr-push.sh 1234