此问题是指本地的分支和远程的分支之间需要建立联系。如:本地master对应远程的master git branch --set-upstream-to=origin/master master 解决问题。