git拉取代码报错:No tracked branch configured for branch master or the branch doesn‘t exist.

No tracked branch configured for branch master or the branch doesn’t exist.

  • 错误:
    git拉取代码报错:No tracked branch configured for branch master or the branch doesn‘t exist.

  • 解决办法:
    按照提示在项目目录文件夹下输入git branch --set-upstream-to origin即可;
    还不行的话输入 git branch --set-upstream-to origin/master

上一篇:git


下一篇:Git 常用指令