Git 将本地已有仓库的分支branch提交到远程仓库作为master
git remote rename origin old-origin git remote add origin http://你的仓库地址 git push origin branch:master 删除远程分支,:左边的分值为空则删除右边的分支 git push origin :branch
git remote rename origin old-origin git remote add origin http://你的仓库地址 git push origin branch:master 删除远程分支,:左边的分值为空则删除右边的分支 git push origin :branch