git 创建新分支并推送到远程分支

 
git branch test
git checkout test
git push origin test:test
git branch --set-upstream-to origin/test
git branch -a

delete local/origin 分支 git checkout master git branch -d branchname git branch -r -d origin/branchname git push origin :branchname

  

posted @ 2017-11-15 14:17  一样菜  阅读(8140)  评论(0编辑  收藏  举报