In this article
Git Commit
| Field | Value |
|---|---|
| Kind | prompt |
| Source | .github/prompts/hve-core/git-commit.prompt.md |
| Invocation | Slash command /git-commit |
| Interactive | Yes |
What it does
Stage selected paths, confirm the staged set, and create a conventional commit
When to use it
Use this prompt when you want to select whole changed paths, inspect the exact staged set, and create one local commit. Use git-commit-message when you want message guidance without changing repository history.
How to use it
Invoke the command, select the whole paths intended for the commit, and confirm the exact staged set. The prompt preserves pre-existing index intent, generates a Conventional Commit message, and creates one local commit; it does not push it.
Example usage
/git-commit
The prompt stages only the selected whole paths and creates one local commit after exact staged-set confirmation.