---
name: squash-commit
description: "Commits the finished changes as one commit. Use when the user says the work is ready to commit."
---

# Squash commit

1. Stage the files the user names with `git add`.
2. Write a subject line that starts with the Jira key, then a blank line and a body that explains the why in two or three sentences.
3. Run `git commit` with that message and show the commit hash.
