http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html
You can also combine both the git-ref and the subdirectory:
$ cordova plugin add
https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir
On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman <[email protected]> wrote:
> What's the syntax for installing a plugin from a subdirectory in git?
>
> I can install the plugin from a local copy with
>
> cordova plugin add ~/phonegap-nfc/tests
>
> But I can't figure out the URL to install this from git
> https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests
>