Skip to content

Commit

Permalink
docs: update commit-ish default branch (#5205)
Browse files Browse the repository at this point in the history
  • Loading branch information
dijonkitchen authored Jul 21, 2022
1 parent 9905d0e commit f9abee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/commands/npm-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ into a tarball (b).
can 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.
`#semver:<semver>` is specified, then the default branch is used.
As with regular git dependencies, `dependencies` and `devDependencies`
will be installed if the package has a `prepare` script before the
Expand Down
2 changes: 1 addition & 1 deletion docs/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ commit. If the commit-ish has the format `#semver:<semver>`, `<semver>` can
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 is used.

Examples:

Expand Down

0 comments on commit f9abee7

Please sign in to comment.