Skip to content

Commit

Permalink
docs: clarify default branch with git url (#64)
Browse files Browse the repository at this point in the history
With some tests I note npm use default branch of repository instead of `master`.

PR-URL: #64
Credit: @zckrs
Reviewed-By: @zkat
  • Loading branch information
Mehdy Dara authored and zkat committed Nov 13, 2018
1 parent 03840dc commit bcae4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/cli/npm-install.md
Expand Up @@ -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.
Expand Down

0 comments on commit bcae4ea

Please sign in to comment.