# Git Commit Rule

[Gitmoji](https://github.com/carloscuesta/gitmoji) 是一项旨在标准化和解释在 GitHub 提交消息上使用表情符号的倡议。 在提交消息上使用表情符号提供了一种简单的方法来识别提交的目的或意图，只需查看使用的表情符号。由于有很多不同的表情符号，我发现需要创建一个指南来帮助更轻松地使用表情符号。

## 使用 [gitmoji-cli](https://github.com/carloscuesta/gitmoji-cli)

要从命令行安装gitmoji-cli使用 gitmojis 。一个 gitmoji 交互式客户端，用于在提交消息上使用表情符号。

```
npm i -g gitmoji-cli
```

## 使用示例

如果您需要一些想法来将 gitmoji 集成到您的项目中，这里有一个实用的方法来使用它：

```
<intention> [scope?][:?] <message>
```

* intention：列表中的表情符号。
* scope: 一个可选字符串，为更改范围添加上下文信息。
* message:更改的简要说明。

## 具体使用

### gitmoji-cli使用方法

{% embed url="<https://github.com/carloscuesta/gitmoji-cli>" %}

### emoji使用规则

{% embed url="<https://gitmoji.dev/?utm_medium=social&utm_oi=811556178017546240&utm_source=wechat_session>" %}

**按照上述介绍中正确使用emoji**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chenqianhe.gitbook.io/rules/readme/common-rules/git-commit-rule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
