Why do I have to run “git branch –set-upstream-to=origin/ local-branch-name” while doing git pull?
I am wondering why I have to git branch --set-upstream-to=origin/<branch> local-branch-name
when doing git pull
? Is there a way to keep the upstream
the same as the current local branch of local-branch-name
?