
Chinese Git Workflow
If you're working with Chinese Git platforms like Gitee, Coding.net, or JihuLab instead of GitHub, this walks you through the specific SSH configs, credential setup, and CI/CD differences that actually matter. It includes platform comparison tables, mirror sync commands for pushing to multiple remotes, and proper Chinese commit message conventions based on Conventional Commits. The CI examples are practical, covering Gitee Go's YAML format, Coding's Jenkinsfile syntax, GitLab CI, and CNB's branch-first Docker pipeline structure. It also lays out three workflow models (trunk-based, Git Flow, and a simplified dev/main pattern common in Chinese teams) so you can pick what fits your team size. Only triggers when you explicitly call it with /chinese-git-workflow.
- skills.sh installs
- 979
- GitHub stars
- 8.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jnmetacode/superpowers-zh --skill chinese-git-workflow --agent claude-codeInstalls into .claude/skills of the current project.
Files
国内 Git 工作流规范
概述
国内团队用 Git 经常踩的坑:GitHub 访问不稳定、CI/CD 方案照搬国外水土不服、commit message 中英混杂没有规范。本技能提供一套完整适配国内平台和团队习惯的 Git 工作流。
核心原则: 工作流服务于团队效率,不是为了流程而流程。选适合团队规模的,别硬套大厂方案。
国内 Git 平台适配
平台对比
| 特性 | Gitee | Coding.net | 极狐 GitLab | CNB | GitHub |
|---|---|---|---|---|---|
| 国内访问 | 快 | 快 | 快 | 快 | 不稳定 |
| 免费私有仓库 | 有 | 有 | 有 | 有 | 有 |
| CI/CD | Gitee Go | Coding CI | 内置 GitLab CI | 内置(.cnb.yml) | GitHub Actions |
| 代码审查 | PR | MR | MR | MR | PR |
| 制品库 | 有限 | 完整 | 完整 | 完整 | 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
Sponsors
Details
- Repository
- github.com/jnmetacode/superpowers-zh
- Categories
- DevOps & CI/CD, Git & Pull Requests, Automation & Workflows
- First seen
- Jun 3, 2026
More from jnmetacode/superpowers-zh
All 20- Dispatching Parallel Agents970
- Writing Skills967
- Mcp Builder963
- Workflow Runner952
- Using Superpowers1.2K
- Chinese Documentation1.2K
- Brainstorming1.2K
- Systematic Debugging1.2K
- Receiving Code Review1.1K
- Verification Before Completion1.1K
- Writing Plans1.1K
- Test Driven Development1.1K
- Chinese Code Review1.1K
- Chinese Commit Conventions1K
- Subagent Driven Development1K
- Executing Plans1K
- Requesting Code Review1K
- Finishing A Development Branch993
- Using Git Worktrees987