git

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Git

Git

Specification

规范说明

The words
MUST
,
MUST NOT
,
REQUIRED
,
SHALL
,
SHALL NOT
,
SHOULD
,
SHOULD NOT
,
RECOMMENDED
,
MAY
, and
OPTIONAL
are interpreted as described in RFC 2119.
术语
MUST
MUST NOT
REQUIRED
SHALL
SHALL NOT
SHOULD
SHOULD NOT
RECOMMENDED
MAY
OPTIONAL
的解释遵循 RFC 2119 中的定义。

Requests

操作要求

  • PR titles MUST NOT be prefixed with "[codex]".
  • The first commit of a repo SHOULD be made with the message: "Init it to win it"
  • When running
    gh pr merge
    , you MUST check whether the current project exists under
    ~/git/@mostlyserious
    ; if it does, you MUST use
    --author-email cornelius.ukena@mostlyserious.io
    .
  • PR标题 禁止 以"[codex]"为前缀。
  • 仓库的首个提交消息 建议 设置为:"Init it to win it"
  • 运行
    gh pr merge
    命令时,必须 检查当前项目是否位于
    ~/git/@mostlyserious
    目录下;若存在,则 必须 使用
    --author-email cornelius.ukena@mostlyserious.io
    参数。

Reference Guide

参考指南

You SHOULD load detailed guidance based on context:
TopicReferenceLoad When
Commits
references/commits.md
writing commits
Branches
references/branches.md
creating branches
你应根据上下文加载详细指南:
主题参考文档加载时机
提交信息
references/commits.md
编写提交信息时
分支管理
references/branches.md
创建分支时