1.git clone git@git.xun-ao.com: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。
不同仓库不同分支之间cherry-pick的操作流程
1.git remote add 源名称 远程仓库地址 #和远程分支建立联系
2.git fetch 源名称 #更新远程分支到本地
3.git checkout -b 本地分支名 源名称/分支名 #首次切换分支到本地
4.git cherry-pick 某次的提交的hash值 #提交某次修改的提交hash值到当前分支
5.git push #提交分支到远程仓库
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 小于等于