CommitSense is a command-line tool that simplifies Git version control by providing an interactive and standardized way to create commit messages following the Conventional Commits specification.
- Conventional Commits-based commit message generation.
- Improved commit message consistency.
- Streamlined Git workflow.
Here's the cool part: CommitSense plays well with native Git commands under the hood. So, while you're using Git commands like a console wizard, CommitSense is right there, ensuring compatibility and helping you create those commits with style when you're ready!
Check out the homebrew formula repository for installation guide.
You can always clone the repository, build the application and use the binary for running the application.
commitsense commit
This command guides you through creating a commit message according to the Conventional Commits format.
golangci-lint is a fast and customizable Go linter. It provides a wide range of checks for various aspects of your Go code.
To install golangci-lint, run the following command:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
To run golangci-lint on your project, navigate to your project's root directory and execute:
golangci-lint run
This command will analyze your Go code, check for issues, and display the results.
To run and fix autofixable problems, run the following command:
golangci-lint run --fix
gofumpt is a stricter Go code formatter that follows the gofumpt style.
To install gofumpt, run:
go install mvdan.cc/gofumpt@latest
To format and organize your import statements, run:
gofumpt -l -w .
We welcome contributions to CommitSense! To contribute, follow these steps:
- Fork this repository.
- Create a new branch for your feature or bug fix: git checkout -b my-feature.
- Commit your changes following the Conventional Commits format.
- Push your branch to your fork: git push origin my-feature.
- Open a pull request to the main repository.
- Please ensure your code follows best practices and includes appropriate tests.
CommitSense is released under the MIT License. See LICENSE for details.
This project is inspired by the Conventional Commits specification. Learn more at Conventional Commits.