I have a repository in Azure DevOps, and have the code in Visual Studio 2017 Enterprise, version 15.9.9. Every time I start VS and want to commit code or get the latest, the solution shows as not connected to any source control. I have to choose "Add to source control" from the VS status bar and choose Git, then it asks me to choose an account to use. It never remembers the fact that the solution is under source control from one time to the next.
On top of that, it will often pop up the window asking me to choose an account even when I've been working in the same instance of VS for some hours.
Every time this happens, I get an email telling me that an Azure DevOps personal access token added.
Why doesn't it remember the settings? I've been using SVN for years and never ever had anything like this.
UPDATE I just noticed that when this happens, I get the following in the Output panel...
Opening repositories:
C:\Users\Me\My web site
Git failed with a fatal error.
could not read Password for 'https://myusername@dev.azure.com': terminal prompts disabled
Don't know if that's relevant, but though it worth adding in case
