本文档说明如何将 OpenNeuro 项目上传到 GitHub。
确保以下文件存在:
-
LICENSE- MIT 许可证 -
README.md- 项目说明 -
CONTRIBUTING.md- 贡献指南 -
CHANGELOG.md- 更新日志 -
SECURITY.md- 安全政策 -
.gitignore- Git 忽略文件 -
.github/ISSUE_TEMPLATE/- Issue 模板 -
.github/PULL_REQUEST_TEMPLATE.md- PR 模板 -
.github/workflows/ci-cd.yml- CI/CD 配置
cd D:\VScode专用\OpenNeuro
# 运行 Git 初始化脚本
bash scripts/git_init.sh
# 添加远程仓库
git remote add origin https://github.com/YOUR_USERNAME/OpenNeuro.git
# 推送到 GitHub
git branch -M main
git push -u origin maincd D:\VScode专用\OpenNeuro
git initgit config user.name "Your Name"
git config user.email "your.email@example.com"git add .git commit -m "feat: initial commit - OpenNeuro v0.2.0-alpha.1"- 访问 https://github.com/new
- 仓库名称:
OpenNeuro - 描述:
Next-generation communication architecture for embodied AI robots - 选择 Public
- 不要初始化 README, .gitignore, License (我们已经有了)
- 点击 "Create repository"
git remote add origin https://github.com/YOUR_USERNAME/OpenNeuro.gitgit branch -M main
git push -u origin main- 访问 GitHub 仓库页面
- 点击 "Releases" → "Create a new release"
- 填写信息:
- Tag:
v0.2.0-alpha.1 - Title:
OpenNeuro v0.2.0-alpha.1 (M2.1 Alpha) - Description: 复制
RELEASE_NOTES_v0.2.0-alpha.1.md内容
- Tag:
- 勾选 "This is a pre-release"
- 点击 "Publish release"
Next-generation communication architecture for embodied AI robots.
Features PTP time sync (<1µs), TSN scheduling, and Zenoh integration.
添加以下 topics:
roboticsptptsnzenohreal-timetime-synchronizationembodied-aiieee-1588ieee-802-1q
- Issues
- Projects
- Wiki
- Discussions
- Actions
为 main 分支设置保护规则:
- Require pull request reviews before merging
- Require status checks to pass before merging
- Require branches to be up to date before merging
CI/CD 管道会自动运行:
- ✅ 多平台构建 (Ubuntu/Windows)
- ✅ 自动化测试
- ✅ 性能基准测试
- ✅ 发布打包
检查状态:https://github.com/YOUR_USERNAME/OpenNeuro/actions
在 README.md 顶部添加徽章:



- GitHub: https://github.com/YOUR_USERNAME/OpenNeuro
- Issues: https://github.com/YOUR_USERNAME/OpenNeuro/issues
- Discussions: https://github.com/YOUR_USERNAME/OpenNeuro/discussions
- Actions: https://github.com/YOUR_USERNAME/OpenNeuro/actions
- Git 仓库初始化
- 首次提交完成
- GitHub 仓库创建
- 代码推送成功
- Release 创建
- 仓库设置完成
- Topics 添加
- 分支保护设置
- CI/CD 运行成功
- README 徽章添加
祝上传顺利! 🚀