From debc80a0890bacf88129160a0156be3f39dfe9f7 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..2280f4d678c64 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 repository is used. If the repository makes use of submodules, those submodules will be cloned as well.