git命令

1.git clone [email protected]:sph/shaphar-api.git      拉远程分支的代码。

2.git checkout dev  切换到dev分支。

3.git add .  将修改的内容做一个提交到本地当前分支前的动作。

4.git commit -m"注释"  提交修改的内容到本地分支。

5.git pull  从远程分支更新到当前本地分支。

6.git status 检查代码冲突,并且修改冲突。

7.git push 将代码推送到当前远程分支。

8.git merge dev 将dev分支合并到当前分支。

9. git push origin local_branch:remote_branch   本地有local_branch分支,远程没有remote_branch分支,自动创建                                                                        remote_branch分支,并将本地分支推送到remote_branch分支上。

10.git push -u origin/remote_branch   远程已有remote_branch分支但未关联本地分支local_branch且本地已经切换到                                                                                local_branch。

 

 

 

https://cn.vuejs.org/v2/guide/index.html

https://www.runoob.com/react/react-tutorial.html 

https://ant.design/docs/react/introduce-cn

 

gt: greater than 大于

gte: greater than or equal 大于等于

lt: less than 小于

lte: less than or equal 小于等于

你可能感兴趣的:(git)