Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

current branch does not have an upstream branch configured

I'm trying to pull the latest changes for a branch in Visual Studio Team Explorer for Git but the Pull url is disabled and the "Incoming Commits" section displays a message hat says "Current branch does not have an upstream branch configured. There are no incoming commits for non-tracking branches." Any idea what the problem might be or how to fix?

like image 461
Greg Brattle Avatar asked Oct 29 '25 19:10

Greg Brattle


1 Answers

I use following command to fix the issue: git branch --set-upstream-to=origin/master master

like image 126
Ahsin Anwar Avatar answered Nov 01 '25 16:11

Ahsin Anwar