aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-03 20:23:23 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-03 20:23:23 +0100
commit057de832a19af4e761c0583a7e16efbaa86b7ead (patch)
treeebfd5e9b8420c1ad3bd348f0e693dd609f0d36ca /git
parent3781523c17e896cdf630138f5811c19e1134ef17 (diff)
Add title to links in helper-scripts + add page about submodules in git
Diffstat (limited to 'git')
-rw-r--r--git/submodules.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/git/submodules.md b/git/submodules.md
new file mode 100644
index 0000000..905367b
--- /dev/null
+++ b/git/submodules.md
@@ -0,0 +1,11 @@
+# Submodules
+
+## Update
+
+```sh
+git submodule update --recursive --remote
+```
+
+> Update the registered submodules to match what the superproject
+> expects by cloning missing submodules, fetching missing commits in
+> submodules and updating the working tree of the submodules.