We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于新生学习计划training-plan后续发展与管理的讨论与记录,包括但不限于仓库版本纪要、仓库组织框架,作业规范,重要管理命令,对外使用,如果有需要优化的地方一起讨论:
training-plan
仓库上线#11🚀
2020级归档[#28 ,training-plan-2020]:baby:
每一级从template分支拉一个私仓开始学习计划,结束后整理归档回公仓,及时对template和homework打上tag。
google-cpp-style google-python-style uber-golang-style ...
关于实验室项目多人协作开发流程的讨论
git remote add public [email protected]:CDDSCLab/training-plan.git
git checkout public/template
push
git remote add private git://gitUrl
git fetch private
git log private/branchname
git cherry-pick <commitHash>
git cherry-pick <HashA> <HashB>
git cherry-pick A^..B
一些项目可能是放在同学自己的个人仓库上面的,可以使用submodule的形式进行链接。
git submodule add git://gitUrl path-to-submodule
.gitmodules
git mv path-to-old-submodule path-to-new-submodule
git add .gitmodules
.git/config
git rm --cached path_to_submodule
rm -rf .git/modules/path_to_submodule
git commit -m "Removed submodule <name>"
rm -rf path_to_submodule
git submodule init
git submodule update
Fork,Issues and PR are welcom. MIT License.
The text was updated successfully, but these errors were encountered:
Why template branch includes homework?
Sorry, something went wrong.
A big 🐛 ,fixed!
We should unify code style, for examlpe google-cpp-style, google-python-style.
No branches or pull requests
General Question
关于新生学习计划
training-plan
后续发展与管理的讨论与记录,包括但不限于仓库版本纪要、仓库组织框架,作业规范,重要管理命令,对外使用,如果有需要优化的地方一起讨论:仓库版本纪要
2019-07-06
仓库上线#11🚀
2021-01-13
2020级归档[#28 ,training-plan-2020]:baby:
仓库组织框架
homework2020
homework2021
homework2022
template2020
tempalte2021
tempalte2022
├─master // 目前是2020级的作业,后续可以改名
├─template // 计划模板,应不断更新,与时俱进
├─training_plan_2020 // 20级归档
├─training_plan_2021 // 21级归档
└─training_plan_2022 // 22级归档
作业规范
代码规范
google-cpp-style
google-python-style
uber-golang-style
...
PR规范
关于实验室项目多人协作开发流程的讨论
重要管理命令
从template拉取私仓
git remote add public [email protected]:CDDSCLab/training-plan.git
git checkout public/template
push
到新建的私仓上面从私仓中cherry-pick做得好的PR
git remote add private git://gitUrl
git fetch private
git log private/branchname
单个commit:
git cherry-pick <commitHash>
多个commit:
git cherry-pick <HashA> <HashB>
[A,B):
git cherry-pick A^..B
git submodule的使用
git submodule add git://gitUrl path-to-submodule
.gitmodules
每个submodule的path,submodule名字不会改变,可以手动改变git mv path-to-old-submodule path-to-new-submodule
.gitmodules
file..gitmodules
changes:git add .gitmodules
.git/config
.git rm --cached path_to_submodule
(no trailing slash).rm -rf .git/modules/path_to_submodule
git commit -m "Removed submodule <name>"
rm -rf path_to_submodule
包含对应的空目录需要使用以下两个命令
git submodule init
git submodule update
对外使用
Fork,Issues and PR are welcom.
MIT License.
The text was updated successfully, but these errors were encountered: