【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】 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To ..._第1张图片

 

解决办法:

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

git branch --set-upstream master origin/master

【IDEA】 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To ..._第2张图片

 

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

你可能感兴趣的:(【IDEA】 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To ...)