Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-clone-pr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-clone-pr

magic

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 24 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc