Merge
Combine merge-and-cleanup and merge-to-main into one flow. Default to fast-forward; preserve a merge commit when fast-forward isn't possible or the user asks for one. Always interactive about deleting branches and worktrees.
Flow
- Refuse if already on main. If
git rev-parse --abbrev-ref HEADreturnsmain(ormaster), stop and report — there's nothing to merge. - Working tree must be clean. If there are uncommitted changes, ask the user whether to commit, stash,
[Description truncada. Veja o README completo no GitHub.]