Git 仓库拉取 master 分支代码,并创建带有自己名字的 dev 分支
·
# 克隆仓库
git clone https://gitee.com/xxx/test-center.git
cd test-center
# 同步 master
git checkout master
git pull origin master
# 创建个人分支
git checkout -b dev-zhangsan
推送分支到远程 git push -u origin dev-你的名字
# 开发并提交
git add .
git commit -m "feat: 实现用户登录接口"
git push origin dev-zhangsan
更多推荐

所有评论(0)