Remote anonymous access to repository denied?

后端 未结 5 979
借酒劲吻你
借酒劲吻你 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:18

    I had the same problem as you. But A little different with you.

    Username for 'https://www.github.com': xxxx@gmail.com
    Password for 'https://xxxx@gmail.com@www.github.com':
    remote: Anonymous access to xxxxx.git denied.
    fatal: Authentication failed for 'https://www.github.com/yyyy/xxx
    

    And I found the cause of problem is that I clone with the prefix of www https://www.github.com/yyyy/xxx

    I solved it by git clone the repository again like this https://github.com/yyyy/xxx, and everything go right.

提交回复
热议问题