【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

When IDEA clicks the GIT update button, the error is as follows:

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

 

Solution:

 In IDEA's Terminal, execute the following command to solve the problem:

git branch --set-upstream master origin/master

 

posted @ 2019-03-18 10:09 Brother Ari Read ( ... ) Comment ( ... ) Edit Favorites

Guess you like

Origin blog.csdn.net/shark1357/article/details/88791032