

Remove the old password: printf "protocol=https\nhost=github. Cannot clone gitlab project, Authentication failed.
#GIT REMOTE HTTP BASIC ACCESS DENIED PASSWORD#
Get the old password or token: printf "protocol=https\nhost=\nusername=" | \ So, you have updated your git password and now you are not able to perform any git action (git push, git pull, etc.). In command-line (see git credential), for a manager core credential helper: Open the Windows Credential Store, and see if the first user is registered there: delete that entry, and you will be able to authenticate with the second user. On Windows (And, in 2021, possibly Linux or even Mac), that would be the Windows Credential Managers GCMC: Git Credential Manager. See " Updating credentials from the OSX Keychain" On Mac, as commented by Arpit J, just goto/open your keychain access->search for related file->and edit credentials there. Removing vendor/ HEAD is now at dd42fa1 Testing gitlab CI remote: HTTP Basic: Access denied fatal: Authentication failed for ' Fetching changes. Usually that means you need to define a Jenkins credential that has access to that repository. See if you have a credential helper that would have cached your (old account) credentials (username/password) used to authentication you. Reminder, most Git repository hosting service uses token as password, not your actual user account password.įor instance, GitHub no longer accept password since Aug. This has to do with credential caching, meaning Git will be default provide the credentials (GitHub account and password PAT Personal Access Token) of the old account while you are trying to push to the new account.

Unable to access https means: this has nothing to do with SSH (and switching to SSH, while possible, does not explain the original issue)
