rota

Git

  • Worktrees share one object store — git worktree add is cheap, but a gc in one worktree affects all of them.
  • Fast-forward only on pull — git merge --ff-only @{u} never rewrites local commits; a diverged branch fails instead of merging.

Edit this page on GitHub