duppr dupplicate pull request for another branch
go get -u github.com/t-ashula/dupper
- install git command
- setup GitHub (or GitHub Enterprise)'s personal access token via https://github.com/settings/tokens
- set the token to environment variable GITHUB_ACCESS_TOKEN
- set API end point URL to environment variable GITHUB_API_END_POINT if you use GitHub Enterprise
- run
duppr --from-pr Owner/Repo/pull/ID --target-branch another-branch
- if
git cherry-pick [pr's commits]
failed, no PR create - if your token does not have write access to original PR's repository, no PR create
- ...
MIT
- tests
- refactoring