Linux command
gitmoji 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Interactive commit
gitmoji -c
List available emojis
gitmoji -l
Search emoji
gitmoji -s [bug]
Initialize repo
gitmoji -i
Configure gitmoji
gitmoji -g
Remove commit hook
gitmoji -r
Update emoji list
gitmoji -u
说明
gitmoji adds emoji to commit messages following a standardized convention. Each emoji represents a commit type (bug fix, feature, docs, etc.), making commit history more visual and scannable. The interactive mode guides through emoji selection and message composition. It can be installed as a Git hook for automatic emoji prompts on every commit.
参数
- -c, --commit
- Interactive commit with emoji.
- -l, --list
- List all gitmojis.
- -s _TEXT_, --search _TEXT_
- Search for emoji.
- -i, --init
- Initialize gitmoji as a commit hook.
- -r, --remove
- Remove a previously initialized commit hook.
- -g, --config
- Configure settings.
- -u, --update
- Sync emoji list with the repo.
- -v, --version
- Print installed version.
- --help
- Display help information.
FAQ
What is the gitmoji command used for?
gitmoji adds emoji to commit messages following a standardized convention. Each emoji represents a commit type (bug fix, feature, docs, etc.), making commit history more visual and scannable. The interactive mode guides through emoji selection and message composition. It can be installed as a Git hook for automatic emoji prompts on every commit.
How do I run a basic gitmoji example?
Run `gitmoji -c` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --commit do in gitmoji?
Interactive commit with emoji.