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._第1张图片

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

你可能感兴趣的:(中间件,git)