Technology Sharing

git update failed remote:HTTP Basic Access denied

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

git update failed remote:HTTP Basic Access denied Cause of the problem: The username and password configured in the local git are inconsistent with the username and password registered on gitlabs

solution:
If the account password has changed, use this command

git config –-system –-unset credential.helper
  • 1

When you pull the remote code to the local again, you will be prompted to re-enter the password. Re-enter the account password and the problem should be solved.