Remote anonymous access to repository denied?

后端 未结 5 980
借酒劲吻你
借酒劲吻你 2021-02-20 04:49

I\'m on Ubuntu 12.04 LTS and just upgraded my git from 1.7-something to version 1.8.4. The problem is when I want to push to a GitHub repo

5条回答
  •  醉梦人生
    2021-02-20 05:40

    I had this issue due to the fact that I had 2-Factor-Auth enabled, and the password it was asking for was the generated password / personal access token, not my LDAP password. I didn't remember that I had set it up at the time.

    Creating a Personal Access Token: https://help.github.com/articles/creating-an-access-token-for-command-line-use/ , allowed me to push successfully using the generated token as a password.

    Context: Internally hosted Enterprise Github. Able to clone, enabled as a collaborator, but unable to push origin master.

提交回复
热议问题