Skip to content
Axer-wyhPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

set_git

一个用于沉淀 GitHub 仓库初始化、文档管理、版本管理与发布流程的模板仓库。
目标是让你在 Codex 中完成任意产品开发后,都能用同一套 SOP 做保存、追踪、回滚和发布。

1. 仓库标准

  • 默认分支:main
  • 分支命名:feat/<topic>、fix/<topic>
  • 提交规范:<type>(<scope>): <summary>
  • 版本规范:vMAJOR.MINOR.PATCH(SemVer)

2. 文档结构

  • README.md:项目说明与快速开始
  • docs/WORKFLOW.md:日常开发与 Git 操作 SOP
  • docs/RELEASE.md:版本发布、回滚与排查 SOP
  • CHANGELOG.md:版本变更记录

3. 快速开始

git init -b main
git config user.name "你的名字"
git config user.email "你的邮箱"

如需连接 GitHub(SSH):

ssh-keygen -t ed25519 -C "你的邮箱"
cat ~/.ssh/id_ed25519.pub
ssh -T git@github.com
git remote add origin git@github.com:<GITHUB_USER>/<REPO>.git
git push -u origin main

4. 最小协作约束

  • 使用 PR 合并到 main(建议 Squash Merge)
  • 保持 CHANGELOG.md 随版本更新
  • 发布里程碑时打 Tag(如 v0.1.0)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors