Why does the execution of git pull after git reset prompt that there is no association with remote repositories?

before, the branch submitted the code to the remote warehouse, and then executed git reset and then executed git pull, which prompted that there was no association with the remote warehouse and could not git pull

.
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> dev
Git
Apr.22,2021

it's not that there is no associated repository, but that the current branch is not associated with a remote branch. It is very likely that your current branch is newly built without push.

you can push first, which should be fine

Menu