git 提交本地分支到远程

远程分支不存在
//  如果远程仓库不存在new_remote_branch,将创建一个该分支,并关联local_branch
git push origin local_branch:new_remote_branch

原文地址:https://www.cnblogs.com/hill-foryou/p/14870129.html