Files
nixos-config/home/common/programs/opencode/commands/merge.md
T
Miguel Palhas 682bb61037 opencode agents
2026-02-07 18:34:53 +00:00

24 lines
618 B
Markdown

---
description: Merge a worktree branch back into the base branch
---
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.