Skip to content

A CLI made with JavaScript to write nice & neat commit messages that follow the rulesets of Conventional Commits

License

Notifications You must be signed in to change notification settings

myferr/conventional-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conventional Commit

A faster way to commit your changes with a nice, formatted commit message that follows the rulesets of Conventional Commits

Requirements

This project requires you to have a Google Gemini API Key and git installed locally on your machine

Installation

bash <(curl -Ss https://github.com/myferr/conventional-commit/refs/heads/main/x.sh)

Then restart your shell or run source ~/{YOUR_CONFIG_FILE}

Replace {YOUR_CONFIG_FILE} with your config file Examples: .zshrc, .bashrc

Why?

Using Conventional Commits is a nice and neat way to make your project's history more readable, automate releases, and maintain cleaner collaboration. Here's why you should use them:

  1. Conventional commits follow a structured format like:
feat: add user login support
fix: correct typo in signup message
chore: update dependencies
  1. In a team setting (or your future self), a commit like:
fix: handle null values in API response

…is much clearer than:

update stuff

You instantly know what type of change was made, why, and how it affects the project.

  1. Your Git log becomes a narrative of the project:
git log --oneline

might show:

feat: add OAuth support for GitHub
fix: sanitize user input in comment form
docs: add API usage example to README

That’s easier to scan than:

better auth
fixing things
final README tweaks

About

A CLI made with JavaScript to write nice & neat commit messages that follow the rulesets of Conventional Commits

Topics

Resources

License

Stars

Watchers

Forks