This is my version of a CLI tool that is meant to help you write better commits, this tool helps you write your commits based on the convetional commits guideline.
There are a total of 6 steps to create a conventional commit
- Select the type of change that you're committing
- What is the scope of this change (user, admin, etc.) the user can select none
- Select a gitmoji for the commit, or the user can select none
- Write a short, imperative tense description of the change
- Provide a longer description of the change
- List any breaking changes or issues closed by this change
Since this is a golang project, you can install it by cloning the repository and running the following command:
go build
This will create an executable file that you can run with the following command (Linux):
./better-commits
Note, give the executable file the right permissions to run it
After having the project compiled, you can run the following commands to add it to your path:
mv better-commits /usr/local/bin
Now you can run the command better-commits
from anywhere in your terminal.
If you want to contribute to this project, you can fork the repository and create a pull request with your changes.
Note: This is my first golang project and is still in development, please be patient if there are some features that are not implemented yet, you can open an issue and together work on the feature or bug.
This project is licensed under the MIT License - see the LICENSE.md file for details.