We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d9f0b6 commit ced8f94Copy full SHA for ced8f94
1 file changed
content/git/submodules.md
@@ -1,7 +1,7 @@
1
+++
2
title="Submodules"
3
date = 2023-04-14
4
-updated = 2025-04-26
+updated = 2026-01-20
5
extra = { series = "Git" }
6
taxonomies = { tags = ["Git"] }
7
@@ -10,10 +10,18 @@ taxonomies = { tags = ["Git"] }
10
11
For path prefer relative paths (See example below)
12
13
+## For placing in current folder use
14
+
15
```sh
16
git submodule add ../ts_lib.git
17
```
18
19
+## For placing in a subfolder (or with a specific name) use
20
21
+```sh
22
+git submodule add ../ts_lib.git path_to_place_module
23
+```
24
25
# Using already setup submodules
26
27
Source: <https://stackoverflow.com/questions/1030169/pull-latest-changes-for-all-git-submodules>
0 commit comments