git commit -m "$(cat <<'EOF'
Add new article about topic
Detailed description if needed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"
4. 推送
git push
注意事项
不要提交 Docs/ 目录(源文档)
检查 .gitignore 确保敏感文件被忽略
推送前确认所有链接正确
GitHub Pages 会自动部署 Main 分支
1---2name: git-workflow-bayzhen-bayzhen-github-io-23description: Git工作流规范,用于版本控制和发布4---56# Git 工作流技能78## 提交规范910### 提交信息格式1112```13<type>: <subject>1415[optional body]1617Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>18```1920### Type 类型2122- `Add` - 新增文章或功能23- `Update` - 更新现有内容24- `Fix` - 修复问题25- `Refactor` - 重构代码/结构26- `Style` - 样式调整27- `Docs` - 文档更新2829### 示例3031```bash32# 新增文章33git commit -m "Add Claude Code hooks tutorial"3435# 更新内容36git commit -m "Update navigation links on homepage"3738# 修复问题39git commit -m "Fix broken link in article index"40```4142## 工作流程4344### 1. 查看状态45```bash46git status47git diff48```4950### 2. 暂存更改51```bash52# 暂存特定文件53git add articles/new-article.html5455# 暂存所有更改(谨慎使用)56git add .57```5859### 3. 提交60```bash61git commit -m "$(cat <<'EOF'62Add new article about topic6364Detailed description if needed.6566Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>67EOF68)"69```7071### 4. 推送72```bash73git push74```7576## 注意事项7778- 不要提交 `Docs/` 目录(源文档)79- 检查 `.gitignore` 确保敏感文件被忽略80- 推送前确认所有链接正确81- GitHub Pages 会自动部署 `Main` 分支
Run npx skillmds@latest add majiayu000/git-workflow-bayzhen-bayzhen-github-io-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Git工作流规范,用于版本控制和发布 It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.