Skip to content

Commit

Permalink
Fix misleading on npm install with git url
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`.
  • Loading branch information
Mehdy Dara committed Sep 3, 2018
1 parent 59e5056 commit 7b31e31
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 7b31e31

Please sign in to comment.