GitLab remote: HTTP Basic: Access denied and fatal Authentication

前端 未结 30 2494
攒了一身酷
攒了一身酷 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 00:55

    If you are using git > 2.11 and using Kerberos to interact with Gitlab you need set this configuration in your local git to avoid the remote: HTTP Basic: Access denied error.

    $ git config --global http.emptyAuth true

    Source

提交回复
热议问题