From 274a3c2c77b100010ef11f744c3b47c661b2afe5 Mon Sep 17 00:00:00 2001 From: Mehdy Dara Date: Tue, 13 Nov 2018 15:52:01 +0100 Subject: [PATCH] docs: clarify default branch with git url (#64) With some tests I note npm use default branch of repository instead of `master`. PR-URL: https://github.com/npm/cli/pull/64 Credit: @zckrs Reviewed-By: @zkat --- 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.