feat(commit): add hunk-level staging guidance via patch-file flow #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/commit-hunk-staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Document a hunk-level staging flow inside
/commitso that when a single file's changes belong to more than one atomic commit, the skill no longer has to fall back to one-commit-per-file or — worse — to restructuring files just to align commit boundaries with file boundaries. The new sub-section 6a describes a patch-file flow (git diff > /tmp/patch.diff→ curate →git apply --cached→ commit, repeat against the updated diff): deterministic, reviewable, and safe to run non-interactively, wheregit add --patch/git commit --patchcannot be driven without stdin. Step 4 gains a planning nudge, the safety rules a matching prohibition on file-moving as a workaround, and the README's/commitsummary reflects the new bullet. Bumps to 0.5.0.Merge: rebase.