Submodule add or update

Submodule add or update in Git — with three ready prompts, from the immediate task to the lasting pattern.

3prompt heights
Open it in the interactive atlas →

3 ready prompts

Written for the moment this actually comes up.

Improve — make it easier to accept

+
Before I update the submodule, make the change easy for reviewers. Show a concise diff that…
Before I update the submodule, make the change easy for reviewers. Show a concise diff that highlights only the submodule pointer and include a one‑paragraph justification: which release needs the pin, what API changes in the new submodule commit matter, and whether that commit introduces any new build steps. Flag any submodule updates that will require CI cache invalidation or credentials to fetch.

Decide — diagnose the stuck moment

+
I updated libs/payment to point at commit 7a1d2c but CI now fails fetching the submodule. I don’t…

I updated the submodule pointer and CI started failing to fetch it

I updated libs/payment to point at commit 7a1d2c but CI now fails fetching the submodule. I don’t know whether this is a credentials issue, a private repo change, or a broken URL. What sequence of checks should I run locally and on CI to diagnose whether the failure is due to access rights, the remote URL, or the submodule commit being absent upstream?

Become — change the pattern

+
Submodule updates repeatedly cause last‑minute release outages: broken fetches, missing tags, or…

We keep getting surprising submodule failures during releases

Submodule updates repeatedly cause last‑minute release outages: broken fetches, missing tags, or incompatible API bumps. Where are we losing control — in dependency ownership, pinned commits, or CI fetch patterns — and which three habits would stop submodule changes from derailing releases?

Next to this one

Other version control work people do in Git.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.