前端组长
-
- git remote add origin 【gitee的https地址】 关联远程仓库
-
- git push -u origin master 提交代码
组员
-
- git clone 【gitee的https地址】
git checkout 子分支名
git add .
git commit -m'功能描述'
git push origin 子分支名
第一位组员合并代码
git checkout master
git merge A分支
在本地运行vue项目,保证其没有bug
git push origin master 将带有A分支代码的主分支,提交至远程仓库
第二位组员合并代码
git checkout master
git pull origin master 拉取最新主分支代码
git merge B分支
解决冲突 【通过项目基本架构的合理规划,尽可能避免冲突】
git add .
git commit -m'解决冲突的描述'
在本地运行vue项目,保证其没有bug
git push origin master