From 4ed038808f7bb78cc00fce6162b3f71b45abbd66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kat=20March=C3=A1n?= Installs the package from the hosted git provider, cloning it with
If the repository makes use of submodules, those submodules will
+ be cloned as well. The following git environment variables are recognized by npm and will be added
to the environment when running git:git
. First it tries via the https (git with github) and if that fails, via ssh. <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>[#<commit-ish>]
-
<protocol>
is one of git
, git+ssh
, git+http
, or
- git+https
. If no <commit-ish>
is specified, then master
is
- used.<protocol>
is one of git
, git+ssh
, git+http
, git+https
,
+ or git+file
.
+ If no <commit-ish>
is specified, then master
is used.
@@ -305,5 +307,5 @@ affects a real use-case, it will be investigated.