git pull from Visual Studio console opens the authentication window

269 Views Asked by At

Git pull from PowerShell works fine but git pull from Visual Studio console opens the authentication window:

enter image description here

And if I close the window they still ask for username/passwords via commandline:

enter image description here

How can I get rid of having to authenticate every time from VS.

1

There are 1 best solutions below

4
On

VSCode may require you to sign in. In the left plane window, there should be a git icon (if there isn't you'll need to download the extension).

Are you sure it isn't just a single sign on request?

Check this out: https://code.visualstudio.com/docs/editor/github