| 1 | Run `git config -e` and add the block below then run `git fetch --all` to update all the GitHub pull request branches.
|
| 2 |
|
| 3 | ```
|
| 4 | [remote "github"]
|
| 5 | url = https://github.com/alpinelinux/aports.git
|
| 6 | fetch = +refs/heads/*:refs/remotes/github/*
|
| 7 | fetch = +refs/pull/*:refs/remotes/github/pr/*
|
| 8 | ```
|
| 9 |
|
| 10 | After you have done this you can merge / squash / rebase / cherry-pick from the command line.
|
| 11 |
|
| 12 | For example, `git rebase master github/pr/XXX/head; git checkout master` would migrate all the commits from PR #XXX.
|
| 13 |
|
| 14 | You can then push the results back to the "origin" remote which should be the official Alpine Linux aports repository.
|