gitlab 新建分支,并且指定分支上传代码

git clone  http:xxxxxxxxxxxx
git branch new_master  
git checkout  new_master
git add . 
git commit -m "new-graphql"
git push origin     new_master 
git push

  

原文地址:https://www.cnblogs.com/lixinliang/p/12665853.html