All Projects → ItsAnas → git-commiter

ItsAnas / git-commiter

Licence: MIT License
📖✨ Allows you to commit following custom rules or conventions easily

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to git-commiter

commit-bot
Automatically generates GitHub activity
Stars: ✭ 65 (+282.35%)
Mutual labels:  commit
commitlog
Generate Changelogs from Commits (CLI)
Stars: ✭ 63 (+270.59%)
Mutual labels:  commit
oh-my-fish
The Fish Shell Framework
Stars: ✭ 8,403 (+49329.41%)
Mutual labels:  prompt
zsh-aws-vault
oh-my-zsh plugin for aws-vault
Stars: ✭ 63 (+270.59%)
Mutual labels:  prompt
zcolors
🌈 Z Colors uses your $LS_COLORS to generate a coherent theme for Git and your Zsh prompt, command line and completions.
Stars: ✭ 38 (+123.53%)
Mutual labels:  prompt
inquirer-fuzzy-path
Fuzzy file/directory search and select prompt for Inquirer.js
Stars: ✭ 69 (+305.88%)
Mutual labels:  prompt
react-native-input-prompt
A cross-platform user input prompt component for React Native with Native UI.
Stars: ✭ 45 (+164.71%)
Mutual labels:  prompt
bash-cache
Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.
Stars: ✭ 45 (+164.71%)
Mutual labels:  prompt
promptconfig
🖥 Craft a custom terminal prompt with JSON.
Stars: ✭ 32 (+88.24%)
Mutual labels:  prompt
PromptCLI
Interactive command line interface library
Stars: ✭ 30 (+76.47%)
Mutual labels:  prompt
parse-commit-message
(!! moved to tunnckoCore/opensource !! try `parse-commit-message@canary`) Parse, stringify or validate a commit messages that follows Conventional Commits Specification
Stars: ✭ 31 (+82.35%)
Mutual labels:  commit
lambda-pure
Pretty, minimal and fast ZSH prompt, with NodeJS version
Stars: ✭ 107 (+529.41%)
Mutual labels:  prompt
Qprompt
Python library for quick CLI user prompts, input, and menus.
Stars: ✭ 46 (+170.59%)
Mutual labels:  prompt
fish-kube-prompt
⎈ kubectl context/namespace in your fish shell prompt
Stars: ✭ 71 (+317.65%)
Mutual labels:  prompt
auto-ls
zsh plugin for auto-ls
Stars: ✭ 77 (+352.94%)
Mutual labels:  prompt
gitmeme
Enjoy a meme after every git commit
Stars: ✭ 16 (-5.88%)
Mutual labels:  commit
powerless
Minimalistic/responsive ZSH prompt inspired by powerline.
Stars: ✭ 63 (+270.59%)
Mutual labels:  prompt
conventional-commits
A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook plugin!
Stars: ✭ 128 (+652.94%)
Mutual labels:  commit
gitprompt
Display git status in the the terminal prompt
Stars: ✭ 22 (+29.41%)
Mutual labels:  prompt
Hilbish
🌺 The flower shell. A comfy and nice little shell for Lua fans!
Stars: ✭ 191 (+1023.53%)
Mutual labels:  prompt

git-commit-configurator

This program allows you to define and use rules for your git commits. The goal is to have a repository with structured commit but also explain to people who would like to contribute how commits should be written.

Prerequesite

Install

cd git-commit-configurator
go install .

Quick Test

# Supposed you are not in a git repository
 mkdir test
 cd test
 git init
 echo 'Bonjour' >> foo
 git add foo
 git cmt

Custom rules

Conventional commit

{
    "Name": "My commit config",
    "Description": "Use this field to add some metadata",
    "Rules": [
        {
            "Prefix": "feat",
            "Description": "feat: Implement new feature"
        },
        {
            "Prefix": "doc",
            "Description": "doc: writing doc"
        },
        {
            "Prefix": "fix",
            "Description": "fix: fix bug"
        },
        {
            "Prefix": "style",
            "Description": "style: change something without modyfing feature"
        },
        {
            "Prefix": "ci",
            "Description": "ci: improve ci"
        }
    ]
}

Modifier style

{
    "Name": "My commit config",
    "Description": "Use this field to add some metadata",
    "Rules": [
        {
            "Prefix": "[ADD]",
            "Description": "[ADD]: Add some code"
        },
        {
            "Prefix": "[UPT]",
            "Description": "[UPT]: Update or improve some code"
        },
        {
            "Prefix": "[FIX]",
            "Description": "[FIX]: fix bug"
        }
    ]
}

Why not emojis ?

{
    "Name": "My commit config",
    "Description": "Use this field to add some metadata",
    "Rules": [
        {
            "Prefix": "",
            "Description": "✨: New feature"
        },
        {
            "Prefix": "🐛",
            "Description": "🐛: Fix bug"
        },
        {
            "Prefix": "📚",
            "Description": "📚: Add some documentation"
        }
    ]
}

License

MIT licensed

Copyright (c) 2020 Anas El Halouani

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].