0.0.2 • Published 8 years ago

github-clone-pr v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

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
0.0.2

8 years ago

0.0.1

8 years ago