IDEA Could Not pull Codes to Local Error: Can’t Update No tracked branch configured for branch master or the branch doesn’t exist.

When you pull your own code to the local area, you can’t pull it alive or dead, and an error message appears:

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 

Reason: there are many explanations on the Internet. In short, I don’t know the pull, but I only have a project branch. Because it is a personal project, I didn’t make a branch, which is very outrageous.

Solution:

Open the GIT window under the project directory and enter

git branch --set-upstream-to=origin/master

Attached with reference to the old man’s original station:

Can’t update no tracked branch configured for branch master or the branch

Prompt can’t update no tracked branch configured for branch when solving git update_u012556114

Similar Posts: