github-clone-pr

0.0.2 • Public • Published

github-clone-pr

NOTE: this is most useful when you are the maintainer of the target project and the PR user enabled fork collaboration.

Allows you to easily clone a Github PR with only the URL for the Pull Request from the UI.

Eventually I'd like to make this a true git addon e.g. git clone-pr like I did for git-blame-someone-else.

Install

npm install -g github-clone-pr

Usage

clone-pr <url> <directory>

e.g.

clone-pr https://github.com/jayphelps/github-clone-pr/pull/1 some-place-you-want

It will also automatically create a remote for the upstream, so you can do things like:

git rebase upstream/master

Readme

Keywords

none

Package Sidebar

Install

npm i github-clone-pr

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • jayphelps