Files
tldr/pages.zh/common/gitmoji.md

32 lines
606 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gitmoji
> 交互式地在提交中插入表情符号。
> 更多信息:<https://github.com/carloscuesta/gitmoji-cli>。
- 开始提交向导:
`gitmoji --commit`
- 初始化 Git 钩子(这样每次运行 `git commit` 时都会运行 `gitmoji`
`gitmoji --init`
- 移除 Git 钩子:
`gitmoji --remove`
- 列出所有可用的表情符号及其描述:
`gitmoji --list`
- 在表情符号列表中搜索关键词:
`gitmoji --search {{keyword1}} {{keyword2}}`
- 从主仓库更新缓存的表情符号列表:
`gitmoji --update`
- 配置全局偏好设置:
`gitmoji --config`