克隆代码

git clone git@gitee.com/aa/test.git #克隆主分支
git clone -b boye-dev  git@gitee.com/aa/test.git boye-dev #克隆boye-dev分支

创建并切换到新分支

git clone git@gitee.com/aa/test.git
cd test
git checkout -b boye-dev

更新分支代码并提交

git add *
git commit -m "test"
git push origin boye-dev

  

 posted on 2021-10-15 10:11  boye169  阅读(178)  评论(0编辑  收藏  举报