GitLab remote: HTTP Basic: Access denied and fatal Authentication

前端 未结 30 2400
攒了一身酷
攒了一身酷 2020-11-28 00:06

I am on mac OS unlike this post:

  • 'git push origin MyBranchName' throws error "HTTP Basic: Access denied"

I have password conf

30条回答
  •  無奈伤痛
    2020-11-28 00:40

    I got the same error and I solved this by :

    1. Apply command from cmd (run as administrator)

      git config --system --unset credential.helper

    2. And then I removed gitconfig file from C:\Program Files\Git\mingw64/etc/ location (Note: this path will be different in MAC like "/Users/username")

    3. After that use git command like git pull or git push, it asked me for username and password. applying valid username and password and git command working.

    hope this will help you...

提交回复
热议问题