diff options
author | Mehdy Dara <mdara@eleven-labs.com> | 2018-11-13 17:52:01 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-11-13 17:52:01 +0300 |
commit | bcae4ea8173e489a76cc226bbd30dd9eabe21ec6 (patch) | |
tree | a85e2a37d4d627f9ad79e238302a8ca12ad5a52c | |
parent | 03840dced865abdca6e6449ea030962e5b19db0c (diff) |
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
-rw-r--r-- | doc/cli/npm-install.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli/npm-install.md b/doc/cli/npm-install.md index a349e5862..336311dbf 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 `#<commit-ish>` or `#semver:<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. |