标签:
1. 从远程分支新建分支并checkout:git checkout origin/[ORIGIN BRAHCH NAME] -b [NEW BRAHCH NAME]
2. 把本地分支提交到远程:git push origin [LOCAL BRANCH NAME]:[ORIGIN BRANCH NAME]
(注:如果[ORIGIN BRANCH NAME]不写,自动命名;如果[LOCAL BRANCH NAME]不写,则是删除远程分支)
3. 删除远程分支新语法:git push origin --delete [ORIGIN BRANCH NAME]
标签:
原文地址:http://www.cnblogs.com/gary-tao/p/5883893.html