Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Option to push disabled in Visual Studio Code

I have git integration set up with Visual Studio Code. I can commit just fine (so I think my credentials are set up correctly), and I can use git push from the command-line.

But, for some reason, Sync, Pull, and Push are all disabled (greyed out) in the Git section. What am I missing?

Edit: I'm on Ubuntu 12.04, if that matters.

like image 512
ashes999 Avatar asked Jun 10 '15 21:06

ashes999


1 Answers

git branch --set-upstream-to origin/my_branch

Or

git branch -u origin/my_branch
like image 144
John Papa Avatar answered Oct 11 '22 14:10

John Papa