- Clone repo
- cd ./github-checkout
- bundle install
ln -s ./git-pr /usr/local/bin/git-pr
chmod +x /usr/local/bin/git-pr
- Go to https://github.com/settings/tokens
- Create token with repo privillege.
- Copy token
- Run git-pr to generate default config
- Paste token into config key value
Fetch from default remote saved in git-pr-config:
git-pr fetch https://github.com/org/repo/pull/3
Fetch from different remote:
git-pr fetch aaron https://github.com/org/repo/pull/3
In order to pull newest changes:
git-pr pull