This AutoHotkey v2 script file is designed to help users write good commit messages using the Conventional Commits approach. The script includes a list of commit message types and their corresponding emojis, as well as a list of supported applications and their corresponding edit controls.
To use the script, simply run the Git_Commit_Message.ahk file.The script will listen for hotstrings corresponding to the commit message types and automatically send the corresponding message to the active application.
The supported commit message types and their corresponding hotstrings are:
Message Type | Hotstring |
---|---|
π Initial commit | init |
β add: | add, creat |
π¨ update: | updat, modif, chang |
β»οΈ refactor: | refact |
π fix: | fix |
β‘οΈ improv: | improv, enhanc |
β remov: | remov, delet |
β¨ feat: | feat |
ποΈ Removing dead code | clean |
π§ Work in progress | inprogress |
π§ͺ For Testing | test |
π Merge branches | merg |
π© Write bad code that needs to be improved | bad, needimprove |
ποΈ Critical hotfix | hotfix |
βͺοΈ revert: | revert |
π Code review changes | review |
β‘οΈ perf: | perf |
π style: | styl |
β test: | addtest |
π§ Changing configuration files | config |
ποΈ Fixing security issues | secur |
π docs: | doc |
π¦οΈ Releasing v1.0 | releas |
π Tag v0.2 | tag |
The script currently supports the following applications:
- GitKraken
- VSCode
- Visual Studio 2022
The commit message types used in this script are based on the Conventional Commits specification. For more information, please see https://www.conventionalcommits.org/en/v1.0.0/.
This script is licensed under the MIT License. See LICENSE for more information.
Feel free to modify and customize this script to fit your needs. If you have any feedback or suggestions, feel free to open an issue or a pull request on GitHub!