【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