Smart Commit CLI is a Python script designed to help teams standardize their git commit messages. By generating commit messages in a specific, agreed-upon format, this tool ensures that all contributors follow the same conventions, making commit history more readable and understandable for everyone involved in the project.
Here is an example of a generated commit message:
- Prompts users to enter commit details in a structured way
- Generates commit messages in a consistent, project-specific format
- Helps maintain a clean and informative git history
- Reduces ambiguity and improves collaboration
- Consistency: Enforces a standard commit message format across the team
- Clarity: Makes it easier to understand the purpose of each commit
- Best Practices: Encourages descriptive and meaningful commit messages
-
Install Requirements
- Make sure you have Python 3 installed.
- Clone this repo and install the utility globally as a Python package using pip:
pip install -e .
-
Run the Script
- If installed globally, you can run the command directly as
smart-commitsmart-commit
- Follow the prompts to enter your commit details.
- The script will generate a commit message in the required format.
- If installed globally, you can run the command directly as
-
Input Data
Ticket number: Enter the ticket number associated with your changesShort Description: Give a brief summary for your changeReason for Change: Give the reason in detail on why you have done the changesType: Select one of the options given or give your custom inputScope: Select one of the options given or give your custom input
-
Preview
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.
This project is licensed under the MIT License.

