New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jnmetacode avatar

Chinese Git Workflow

Configuration reference for Chinese Git hosts covering SSH, HTTPS, credentials, CI integration, and mirror sync.

skills.sh installs
981
GitHub stars
8.6K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Gitee, Coding.net, JiHu GitLab, and CNB, with per-platform remote URL formats and authentication differences
  • Includes branch strategy options (trunk-based, Git Flow, simplified dev/main), branch naming rules, and a Chinese Conventional Commits template
  • Provides CI/CD examples for Gitee Go, Coding CI, GitLab CI, and CNB, plus a GitHub Actions equivalence table
  • Designed for teams hosting on domestic platforms that need to mirror repositories to GitHub or adapt international CI patterns

Install

$ npx -y skills add jnmetacode/superpowers-zh --skill chinese-git-workflow -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

国内 Git 工作流规范

概述

国内团队用 Git 经常踩的坑:GitHub 访问不稳定、CI/CD 方案照搬国外水土不服、commit message 中英混杂没有规范。本技能提供一套完整适配国内平台和团队习惯的 Git 工作流。

核心原则: 工作流服务于团队效率,不是为了流程而流程。选适合团队规模的,别硬套大厂方案。

国内 Git 平台适配

平台对比

特性GiteeCoding.net极狐 GitLabCNBGitHub
国内访问快快快快不稳定
免费私有仓库有有有有有
CI/CDGitee GoCoding CI内置 GitLab CI内置(.cnb.yml)GitHub Actions
代码审查PRMRMRMRPR
制品库有限完整完整完整Packages
适合场景开源/小团队中大型团队企业私有化云原生 / Docker 流水线国际项目

Gitee 特有配置

# 设置 Gitee 远程仓库
git remote add origin https://gitee.com/<org>/<repo>.git

# Gitee 的 SSH 配置
# ~/.ssh/config
Host gitee.com
    HostName gitee.com
    User git
    IdentityFile ~/.ssh/gitee_rsa
    PreferredAuthentications publickey

# 同时推送到 Gitee 和 GitHub(镜像同步)
git remote set-url --add --push origin https://gitee.com/<org>/<repo>.git
git remote set-url --add --push origin https://github.com/<org>/<repo>.git

Coding.net 特有配置

# Coding 的仓库地址格式
git remote add origin https://e.coding.net/<team>/<project>/<repo>.git

Details

Repository
github.com/jnmetacode/superpowers-zh
Categories
Git & Releases, DevOps & Cloud
First seen
Jun 3, 2026

More from jnmetacode/superpowers-zh

All 20

Similar to Chinese Git Workflow

More Git & Releases