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
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.