Add make push / scripts/push.sh
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user