docs(web): document /commit command workflow#11669
Conversation
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
There was a problem hiding this comment.
Pull request overview
This PR adds documentation for a custom command example that generates git commit messages using shell output placeholders. The example demonstrates how to use git commands (git diff, git diff --cached, git status --short) within a command template to create a repeatable commit-message workflow.
Changes:
- Added a new "Generate a commit message" section with a complete, copy-paste ready command example
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Copilot suggestion applied: the section is now a heading to preserve the doc hierarchy. |
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
What
/commit) that generates a commit subject from git diffs/status.git commit -m \"...\"using staged changes; supports--dry(message only) and--ask(prompt before committing).Why
How
.opencode/commands/commit.md.