git本地分支推送并创建远程分支

274 阅读1分钟

git push <远程主机> <本地分支>:<远程分支>
git push myOrigin test1:test2
myOrigin:为设置的远程仓库名;
test1:本地分支;
test2:远程分支。