Using: Windows 10, Github Desktop, Git 2.19.1.windows.1(64bit), VisualStudio VSTS
Background: Managed to add the repository I had in my machine, but I can't do anything with it. I have access to the remote repository, I used gittortoise before, and I could commit just fine.
Procedure: Trying to use Github desktop to fetch, pull, or commit changes to remote.
Error: Authentication Failed (We were unable to authenticate with repository. Please enter your username and password to try again.)
Attempt: Tried to input the username and password I used to login visual studio vsts, it keeps giving me the same error.
Objective: Fetch, pull, commit from github desktop to remote repository.
It happens if you change your login or password of git service account (Git). You need to change it in Windows Credentials Manager too. type "Credential Manager" in Windows Search menu open it. Windows Credentials Manager->Windows Credential and under Generic Credentials edit your git password.
3 . Under the Scopes section choose Custom defined and then select Read & Write under the Code section. This will grant GitHub Desktop read and write access to your Azure DevOps repositories.
Actually, the guy above, @bhoeschen, is spot on.
Instead entering your VSTS / Azure DevOPS username and password, rather create a Personal Access Token (PAT), and use that for the password.
https://docs.microsoft.com/en-au/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
Condensed instructions from that page:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With