Repository navigation
Almanac commit with a path
English · Polski
Generated from docs/almanac/cataclistics/commit-with-a-path.md; edit the source, not this page.
-
Met: 2026-11-28, phase 5, committing RR8's reader fixes on
dev/Cleo. - Topic: flow
The readers' files were staged with git add, and the commit command
ended with -- src/core/kit.js, meant to add the kit to what was
staged. git commit -- <paths> does something else: it commits only
those paths (--only is its default), as they are in the working tree,
and leaves everything staged out. Commit 3b4d6cf came out holding the
kit alone under a message describing the readers.
On dev/* a commit is never amended: each amend bumps the version again
(Q7). So the commit stays, and two commits followed it: the readers'
files with their tests, under a message saying they are 3b4d6cf's
missing half; then the gathering's, whose message says the kit's
load-and-wait lives in 3b4d6cf.
- Stage with
git add, thengit commitwith no paths. A path after--means "only these". -
git show --stat HEADafter each commit, before the next: a slip is cheapest to tell while it is the last one. - A slip on
dev/*is told, not hidden: the next commit's message names the one it completes.
Generated by task wiki from the repository's docs/; changes made here are written over.