【IDEA】 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To ...

【IDEA】 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To make your branch track a remote branch call, for example, git branch --set-upstream-to origin/master

IDEA点击GIT更新按钮时,报错如下:

Can't Update
No tracked branch configured for branch master or the branch doesn't exist. To make your branch track a remote branch call, for example, git branch --set-upstream-to origin/master master

解决办法:

 在IDEA的Terminal中,执行如下命令即可解决问题:

git branch --set-upstream master origin/master

posted @ 2019-03-18 10:09 阿狸哥哥 阅读( ...) 评论( ...) 编辑 收藏

猜你喜欢

转载自blog.csdn.net/shark1357/article/details/88791032