-
从 https://github.com/luckymark/CCpp2017 fork 到你自己的github中
-
创建本地仓库:(如果用机房的电脑,则建议clone到U盘,便于携带)
git clone https://github.com/ **YourGithubAccount** /CCpp2017 cd CCpp2017 ls git config user.name=??? git config user.email=??? git remote -v git remote add upstream https://github.com/luckymark/CCpp2017
-
修改、提交代码:
git status git add . git commit -m "完成了running letter" git push
-
从 https://github.com/luckymark/CCpp2017 获取更新
git fetch upstream git merge upstream/master
-
请求老师review代码的方法:在github网页上发起一个PR(pull request)即可
- level0 可选,用于还不够熟练的同学练手(嫌题目太少的同学,那就刷刷咱神技大学的OJ吧,从低到高地刷哈)
- level1 必做,课堂+课后练习
- level2 可选,供精力旺盛到变态的大神们发泄之用