[PR #11669] docs(web): document /commit command workflow #13889

Open
opened 2026-02-16 18:18:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11669

State: open
Merged: No


What

  • Document a copy/paste custom command (/commit) that generates a commit subject from git diffs/status.
  • Default behavior runs git commit -m \"...\" using staged changes; supports --dry (message only) and --ask (prompt before committing).

Why

  • Gives new users a safe, repeatable commit flow without adding opinionated built-in behavior.

How

  • Add a new section to the Commands docs with an example .opencode/commands/commit.md.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11669 **State:** open **Merged:** No --- ## What - Document a copy/paste custom command (`/commit`) that generates a commit subject from git diffs/status. - Default behavior runs `git commit -m \"...\"` using staged changes; supports `--dry` (message only) and `--ask` (prompt before committing). ## Why - Gives new users a safe, repeatable commit flow without adding opinionated built-in behavior. ## How - Add a new section to the Commands docs with an example `.opencode/commands/commit.md`.
yindo added the pull-request label 2026-02-16 18:18:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13889