Skip to content

Commit bcae4ea

Browse files
Mehdy Darazkat
Mehdy Dara
authored andcommittedNov 13, 2018
docs: clarify default branch with git url (#64)
With some tests I note npm use default branch of repository instead of `master`. PR-URL: #64 Credit: @zckrs Reviewed-By: @zkat
1 parent 03840dc commit bcae4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/cli/npm-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ after packing it up into a tarball (b).
199199
be any valid semver range or exact version, and npm will look for any tags
200200
or refs matching that range in the remote repository, much as it would for a
201201
registry dependency. If neither `#<commit-ish>` or `#semver:<semver>` is
202-
specified, then `master` is used.
202+
specified, then the default branch of the repository is used.
203203

204204
If the repository makes use of submodules, those submodules will be cloned
205205
as well.

0 commit comments

Comments
 (0)
Please sign in to comment.