Files
nixos-config/home/common/programs/claude/commands/merge.md
T
Miguel Palhas 38dff7bfeb wip
2025-11-25 11:05:30 +00:00

547 B

Merge a branch from the worktree. If you're currently working on a worktree, assume that's the one I'm referring to.

Start by committing any staged and unstaged changes. I may have made changes to the worktree manually. Then merge back the new main branch, since I may have made changes to it.

Language specific:

Rust

Ensure cargo check is happy. Ensure clippy is happy. clean up any new warnings.

Typescript

Ensure tsc is happy.

Finally

Squash the commits into a single one, merge into the base branch, and delete the worktree.