Skip to content

docs: record the git flow and squash-merge consequences - #63

Merged
georgesleen merged 4 commits into
mainfrom
docs/git-flow
Aug 16, 2026
Merged

docs: record the git flow and squash-merge consequences#63
georgesleen merged 4 commits into
mainfrom
docs/git-flow

Conversation

@georgesleen

Copy link
Copy Markdown
Contributor

Adds a short git flow section to the README.

The repository allows squash merges only. After a squash, the merged branch stops being an ancestor of main, so git cannot tell that main already contains the work. Anyone who keeps committing on a working branch after it merges will hit conflicts against everything on their next PR. That happened to all four module branches when #62 landed.

Documents the flow, the git reset --hard origin/main step after a merge, and why working branches should stay short-lived.

Branch names are unchanged; "working branch" stays.

Squash-only merges mean a merged branch stops being an ancestor of main, so
working branches must be reset after merging or the next PR conflicts against
everything. Test firmware comes from a tag on main.
Bulleted, terse. The Flashed section exists because the v0.1.0 notes first
claimed boards were verified against the tag when they were verified against
their working branches, which the merge had since changed.
The .ioc job checks peripherals only, not pins, clocks or DMA. Naming it
"in sync" oversells it, so say so in the README instead.

Also records that a board flashed from a working branch is not running the
tag, with v0.1.0 as the worked example.
It compares declared peripherals against MX_*_Init calls. It does not check
pins, clocks or DMA, so "in sync with generated code" claimed more than the
job delivers.
@georgesleen
georgesleen merged commit 620e85c into main Aug 16, 2026
2 checks passed
@georgesleen
georgesleen deleted the docs/git-flow branch August 16, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants