An open API service indexing awesome lists of open source software.

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

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
```