Reputation: 103
In my company we abanodoned TFS and started using GIT (finally). Although, I have question about storing PAT somewhere so I do not have to provide it manually every time.
We are using azure devOps, and vscode, but with every pull or push I have to provide this impossible to remember complex string. How can I make vs code/git remember it ?
Upvotes: 1
Views: 3063
Reputation: 1326686
You might want to Use Git Credential Manager to authenticate to Azure Repos
Make sure to have the Git Credential Manager installed (it comes with the latest Git For Windows)
When you connect to a Git repository from your Git client for the first time, the credential manager prompts for credentials.
Provide your Microsoft account or Azure AD credentials.
Upvotes: 1