git-commit
Makes a Git commit, or splits changes into several: reads the diff, stages related files and writes a Conventional Commit message.
- Kind
- Skill
- Works with
- GitHub Copilot
- Source
- Awesome Copilot @ d85f762d6e52
- Path
- skills/git-commit/SKILL.md
- License
- MIT
- Jobs
- Git workflow
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Git Commit with Conventional Commits Make Git commits that follow the [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/) specification. Get the type, the scope, and the summary from the diff. ## Message Format ```text <type>(<scope>): <summary> <body> <footer> ``` - The scope, the body, and the footer are optional. Without a scope, write `<type>: <summary>`. - Write the summary in the imperative mood: "add", not "added" or "adds". - Keep the first line at 72 characters or less. Do not put a period at the end. - In the body, tell what changed and why. - Write each footer as `Token: value` or `Token #value`, for example `Refs: #456` or `Closes #123`. Conventional Commits accepts the two forms, but Git reads only `Token: value` as a trailer. In a token, use `-` in place of a space. ## Types Conventional Commits defines only `feat` and `fix`. The other types come from the Angular convention ([`@commitlint/config-conventional`](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional)). If the repository has its own list, use that list. | Type | Use it for | …