我在 Ubuntu 12.04 LTS 上,刚刚git
从1.7
-something 升级到 version 1.8.4
。问题是当我想推送到 GitHub 存储库时,我收到以下消息并且推送没有发生:
/caniuse $ git push
Username for 'https://github.com': rafalchmiel
Password for 'https://rafalchmiel@github.com':
remote: Anonymous access to rafalchmiel/caniuse.git denied.
fatal: Authentication failed for 'https://github.com/rafalchmiel/caniuse.git/'
这就是我从中得到的git config --list
:
user.name=Rafal Chmiel
user.email=rafalmarekchmiel@gmail.com
alias.undo-commit=reset --soft HEAD^
color.ui=true
push.default=matching
credential.helper=cache --timeout=86400
github.user=rafalchmiel
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/rafalchmiel/caniuse.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
这些是我的遥控器(git remote -v
):
origin https://github.com/rafalchmiel/caniuse.git (fetch)
origin https://github.com/rafalchmiel/caniuse.git (push)
我尝试再次设置 SSH 密钥(尽管这是通过 HTTP 完成的)并搜索了选项。没运气。关于我还能做什么的任何想法?