https://github.com/npm/pull
A bash script for landing pull requests
https://github.com/npm/pull
npm-cli
Last synced: 9 months ago
JSON representation
A bash script for landing pull requests
- Host: GitHub
- URL: https://github.com/npm/pull
- Owner: npm
- License: isc
- Archived: true
- Created: 2019-10-22T18:13:59.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-09-21T19:43:09.000Z (over 4 years ago)
- Last Synced: 2024-10-01T16:06:48.963Z (over 1 year ago)
- Topics: npm-cli
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 11
- Watchers: 11
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @npmcli/pull
This is a script for landing pull requests with the npm CLI team's
annotations.
## Dependencies
This requires `node`, `git`, and `curl` to be installed on your system.
Also [`gh`](https://github.com/cli/cli) is an optional requirement that will
enable retargetting PRs to a release-branch.
## USAGE
```bash
npm i @npmcli/pull
# from the main branch of a repo, land PR-123
pull 123
# if any git rebasing was required, leaving you in the PR-123
# branch, then run this when you're done, to merge into the
# master or latest branch
pull finish master # or latest, or release-1.2.3, or whatever
```