0.1.4 • Published 4 months ago

git-styler v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

šŸ¦„ Git Styler

Git Styler is a CLI tool designed to simplify and standardize commit message styling by providing structured commit commands. It follows the conventional commit format, helping developers maintain clean, consistent, and meaningful commit histories with ease.


Why Git Styler? šŸ¤”

Writing commit messages manually often leads to inconsistencies, such as:

  • Unclear or unformatted commit messages
  • Inconsistent use of emojis or prefixes
  • Lack of a standard format for different types of commits

Git Styler solves these issues by offering easy-to-use commands for well-structured commits, ensuring your commit history is clean, readable, and professional.


🌟 Features

  • āœ… Predefined commit types with appropriate emojis (šŸ“¦ šŸ› ā™»ļø šŸ“–)
  • āœ… Shortcut commands for quick commits (e.g., gfeat, gfix, grel, etc.)
  • āœ… Automatic git push after committing changes
  • āœ… Color-coded logs for better visibility
  • āœ… No extra configuration needed – works out of the box!

šŸš€ Installation

Install Git Styler globally to make the commands available system-wide:

npm install -g git-styler

āš ļø Avoid local installation (npm install git-styler), as the commands won't be recognized outside the project.


šŸ“Œ How It Works

Git Styler introduces easy-to-remember commands for different commit types. Here are some examples:

CommandEmojiType
gfeatšŸ“¦NEW (Feature)
gimpšŸ‘ŒIMPROVE (Enhancement)
gfixšŸ›FIX (Bug Fix)
gdocšŸ“–DOC (Documentation)
gtestšŸ¤–TEST (Testing)
gbreakā€¼ļøBREAKING (Breaking Change)
grelšŸ¦„RELEASE (Release)
grefā™»ļøREFACTOR (Refactor Code)

✨ Usage Examples

1ļøāƒ£ Standard Commit

Instead of writing:

git add . && git commit -m "Added a new authentication module" && git push

Simply run:

gfeat "Added a new authentication module"

šŸ”¹ This automatically formats the commit as:

git commit -m "šŸ“¦ NEW: Added a new authentication module"

2ļøāƒ£ Releasing a New Version

grel "Version 1.0.0 release"

šŸ‘‰ This runs:

git commit -m "šŸ¦„ RELEASE: Version 1.0.0 release" && git push

šŸ” Debugging & Help

If you run into any issues, check available commands with:

git-styler --help

šŸ› ļø How Git Styler Works Under the Hood(Dependencies)

License

This project is licensed under the MIT License.

Author

Shyam Tala


Enjoy committing with style! šŸš€

0.1.4

4 months ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.1

4 months ago

0.1.0

4 months ago