standardized your commit message with fzf.
similar like commitizen/cz-cli, but can be used for any git project. also get inspired by bigH/git-fuzzy, inject this command as a git extension.
apply the shell
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Anddd7/git-fzf/main/install.sh)"
g fzf-commit "this is your message"
# or
gfzfc "this is your message"
create .commit-template
to customize your prefix
(feat)
(docs)
(fix)
(style)
(test)
(chore)
it support hierarchy, and will overwrite the prefix from bottom to top
home
└── anddd7
├── project1
│ └── .commit-template # for project1
├── project2
│ └── .commit-template # for project2
└── workspace
├── .commit-template # for all sub projects
├── oss-project1
└── oss-project2
define your prefix with emoji
🚀feature
💊repair
📑docs
🏂optimize
🍺misc
add your frequently used msg, instead of writing it every time
fix bug
fix misc
refine the docs
apply the shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Anddd7/git-fzf/main/uninstall.sh)"