From 7b31e31342cfaa838f7bb6f83c50c52c56570d56 Mon Sep 17 00:00:00 2001 From: Mehdy Dara Date: Thu, 30 Aug 2018 18:12:51 +0200 Subject: [PATCH] Fix misleading on npm install with git url With some tests I note npm use default branch of repository instead of `master`. --- doc/cli/npm-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cli/npm-install.md b/doc/cli/npm-install.md index a349e5862c258..336311dbfb2bb 100644 --- a/doc/cli/npm-install.md +++ b/doc/cli/npm-install.md @@ -199,7 +199,7 @@ after packing it up into a tarball (b). be any valid semver range or exact version, and npm will look for any tags or refs matching that range in the remote repository, much as it would for a registry dependency. If neither `#` or `#semver:` is - specified, then `master` is used. + specified, then the default branch of the repository is used. If the repository makes use of submodules, those submodules will be cloned as well.