git branch --set-upstream-to=origin/master master 先指定本地master到远程的master 其中master是远程的分支名称 后面master是本地分支名称