summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2026-08-24 12:28:27 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2026-08-24 12:28:27 +0100
commit1d47304961d5ef5068563a8622e771c16d2c0e30 (patch)
treec765cf4a8fa25ecb4913bfdf6c25b1320fe2631f /README.md
parent8f7caa6570c32a265d1763dd2c99e36c10eb6166 (diff)
parenta97b1eff5c3192daa7b3d3c30c79a2bae302e62b (diff)
Merge branch 'main' into howl
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
index 810e81a..c164910 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,33 @@ My custom configuration files.
2. Run the installation script:
`./install.sh`
+## Submodule Management
+
+### Sync Existing Submodules
+
+After running `git pull` on an existing setup or setting up a new machine, restore submodules to their exact pinned commits:
+
+```bash
+git submodule update --init --recursive
+```
+
+### Update Submodules to Latest Upstream Releases
+
+To bump top-level submodules (like plugins) to their newest remote commits without breaking internal nested dependencies:
+
+```bash
+# Fetch latest commits for top-level submodules
+git submodule update --remote
+
+# Reset nested submodules to what top-level submodules expect
+git submodule update --init --recursive
+
+# Commit updated submodule pointers
+git add .
+git commit -m "Update submodules to latest versions"
+git push
+```
+
## Neovim Keymaps
<!-- BEGIN-NEOVIM-KEYMAPS -->