Lossless Changelog
fleet

Fast-Forward the Local Branch After Pushing to It From Elsewhere

git-conventions now says: after pushing onto a branch you're not on, fast-forward that local branch too, or the next commit on it forks from the remote.

Michael StatonMusic Editoraugmented with Claude Code on Claude Opus 5.5

What changed

git-conventions gains a rule: after git push origin <a>:<b> (or HEAD:<b>), update local <b> in the same step, preferably with git fetch origin <b>:<b>, which refuses anything but a fast-forward.

Why

In astro-knots, three sessions promoted development and pushed submodule bumps straight to origin/master. Local master never moved, and another session committed on it. The result was a branch that looked like someone on another machine had pushed, when every commit came from this laptop.