between 0 and 1

[VSCode] git pull - There is no tracking information for the current branch 본문

Software Development Engineering/Dev.Info.

[VSCode] git pull - There is no tracking information for the current branch

devxpert.yoon 2021. 1. 24. 18:45
728x90
반응형

how to solve "git pull" error in vscode 

 

 

error:

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 develop origin/<branch>

 

as descirbed in error message,

we need just set an upstream branch

 

ex.

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

 

then you can "git pull" without any errors.

git pull

 

728x90
반응형