git

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Git

Git

  1. Inspect
    git status --short
    before changing or committing.
  2. Use small, focused diffs.
  3. Use Conventional Commits format.
  4. Keep commit subjects specific.
  5. Use
    git commit --no-gpg-sign
    .
  6. Preserve user work. Do not overwrite it to make history pretty.
  1. 在更改或提交前检查
    git status --short
    。
  2. 使用小型、聚焦的 diff。
  3. 使用 Conventional Commits 格式。
  4. 提交主题要具体明确。
  5. 使用
    git commit --no-gpg-sign
    。
  6. 保留用户工作。不要为了让历史记录更美观而覆盖用户工作。

Output

输出

When status is pending, still state the
Focused diff
,
Specific subject
, how you
Preserve user work
, and
Overwritten: no
.
Completion: status was inspected, the diff is focused, the subject is conventional and specific, and no user work was overwritten.
当状态仍为 pending 时,仍需说明
Focused diff
、
Specific subject
、如何
Preserve user work
,以及
Overwritten: no
。
完成:已检查状态,diff 范围聚焦,提交主题符合 Conventional Commits 且具体明确,未覆盖任何用户工作。