git push 出现 The current branch dev has no upstream branch.的问题 这是因为本地的仓库没有和远程仓库没有关联 解决办法 git push origin 远程分支名 -u 后,下次只要git pull 和git push 就行