Skip to content

Commit 4f67b3d

Browse files
authored
Update docs to include note about submodules & workspaces (#1279)
1 parent 7c52403 commit 4f67b3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Git URLs used for npm packages can be formatted in the following ways:
3939

4040
The `commit-ish` can be any tag, sha, or branch that can be supplied as an argument to `git checkout`. The default `commit-ish` is `HEAD`.
4141

42+
Installing any package directly from git will not install [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or workspaces.
43+
4244
## About modules
4345

4446
A **module** is any file or directory in the `node_modules` directory that can be loaded by the Node.js `require()` function.

0 commit comments

Comments
 (0)