git

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Git Commands

Git 命令

Instructions

说明

When working with git repositories:
  1. Always use
    git
    or
    gh
    commands
  2. Never use
    gt
    command
在使用 git 仓库时:
  1. 始终使用
    git
    gh
    命令
  2. 切勿使用
    gt
    命令

When to Use

使用场景

Apply this guideline when:
  • Running any git operations
  • Suggesting git commands to the user
  • Writing scripts that involve version control
在以下场景中遵循本指南:
  • 执行任何 git 操作时
  • 向用户推荐 git 命令时
  • 编写涉及版本控制的脚本时