git报错There is no tracking information for the current branch. Please specify which branch you wan...

这是因为没有指定分支到git仓库上,想要使用git pull 和 git push命令来操作就要设置一下分支的信息。

git branch --set-upstream-to=origin/dev dev 

你可能感兴趣的:(git报错There is no tracking information for the current branch. Please specify which branch you wan...)