uestc-ndssl / training-plan Goto Github PK
View Code? Open in Web Editor NEWThis is the training plan for freshmen in NDSSL.
This is the training plan for freshmen in NDSSL.
从 https://github.com/uestc-ndssl/training-plan fork 到你自己的 github 中
创建本地仓库:
git clone https://github.com/ **YourGithubAccount** /training-plan
cd training-plan
ls
git config user.name "???"
git config user.email "???"
git remote -v
git remote add upstream https://github.com/uestc-ndssl/training-plan
创建分支:
git checkout -b **YourBranchName**
从 https://github.com/uestc-ndssl/training-plan 获取最新更新,变基
git fetch upstream
git rebase upstream/master
修改代码,之后提交代码:
git status
git add .
git commit -s -m "feat: xxx"
git push --set-upstream origin **YourBranchName**
请求 review 代码的方法:在 github 网页上发起一个 PR(pull request)即可。
建议本地仓库的master分支保持对上游的同步。
# 在master分支下
git pull
建议基于最新的本地master分支创建新的分支
# 在master分支下
git pull
git checkout -b **YourBranchName**
提示,可基于最新的 master 进行 rebase
# 在新创建的分支下,在你的最终提交后需要 rebase 最新的代码,若有冲突,需要处理冲突
git rebase master
要求一个 PR 对应一个 commit,同一分支下多次提交可采用 --amend
选项,或者在多次小的提交后进行 squash
。
# 第二次提交时,采用追加方式
git commit -s --amend
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.