READING / concepts/commits-and-branches.md

A published OKF snapshot. Follow the map, then read at your pace.

Knowledge mapSee how this bundle connects3 concepts · No internal links yetOpen mapHide map
conventionunverifiedstable

Commits and branches

Commits

Branches

Agents and git

Agents may stage files and create commits when asked, but must:

  1. Show git status and the diff before committing.
  2. Only stage files relevant to the task - never git add -A blindly.
  3. Refuse to force-push, rewrite shared history, or delete remote branches without an explicit human instruction.

Merge policy

Squash-merge feature branches. The squashed message follows the commit rules above, so the log stays a readable changelog that agents can search later.

FOCUS READER

Speed read

Paused

Ready

300 wpm

Space play/pause · arrows step or change rate · Escape closes