Add make push / scripts/push.sh

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-10-10 15:50:31 +02:00
co-authored by Claude Sonnet 5.5
parent 4ee0f57ee5
commit 62c958022a
3 changed files with 37 additions and 2 deletions
+3 -1
View File
@@ -53,7 +53,9 @@ $ make build && make up
`scripts/fetch.sh --pinned` checks out exactly the commits recorded in this repo instead of the tip of `sv`.
**Pushing.** A submodule records a commit hash, so commit and push inside the submodule first, then record the new hash in the parent. `push.recurseSubmodules=on-demand` is set, so from the parent:
**Pushing everything:** `make push` (or `scripts/push.sh`) pushes the three submodules on `sv` first and then this repo on `main`; it refuses to run while anything is uncommitted. `make push DRY=1` is a dry run.
**By hand.** A submodule records a commit hash, so commit and push inside the submodule first, then record the new hash in the parent. `push.recurseSubmodules=on-demand` is set, so from the parent:
```console
$ git -C 50ohm-contents-dl commit -am "..." # work happens in the submodule