Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Github:对回购协议的匿名访问被拒绝_Git_Github - Fatal编程技术网

Github:对回购协议的匿名访问被拒绝

Github:对回购协议的匿名访问被拒绝,git,github,Git,Github,我似乎找不到任何副本,所以我们开始: 我正在努力将更改推送到我的git存储库。我现在有几个提交等待推送,但我不断得到错误: 远程:匿名访问#回购被拒绝 致命:对“#repo”的身份验证失败 我隐瞒了我的回购协议 我有一个非常积极的防火墙在这里工作,但我们的网络工程师有一个直接的IP代理(所以我不必使用PAC文件) 我使用以下方法进行设置: git config --global https.proxy xxx.xx.xxx.xxx:80 现在我可以克隆一个回购协议了!但是,我无法将更改推送到该

我似乎找不到任何副本,所以我们开始:

我正在努力将更改推送到我的git存储库。我现在有几个提交等待推送,但我不断得到错误:

远程:匿名访问#回购被拒绝

致命:对“#repo”的身份验证失败

我隐瞒了我的回购协议

我有一个非常积极的防火墙在这里工作,但我们的网络工程师有一个直接的IP代理(所以我不必使用PAC文件)

我使用以下方法进行设置:

git config --global https.proxy xxx.xx.xxx.xxx:80
现在我可以克隆一个回购协议了!但是,我无法将更改推送到该回购协议,因为我得到了上述错误

我已经尝试了100次密码,我已经注销,然后重新登录

我已经设置了一个个人访问令牌并尝试使用它,同样的错误

我的工作会阻止端口22上的所有通信,因此SSH是不可能的

有人知道为什么我可以复制回购协议,但却不能推动它吗?匿名访问意味着什么?我怎样才能成为“匿名的”——又名。我在哪里记录我的详细信息

我已经删除了所有的credential.helper缓存等

编辑:我的

输出: 克隆:

远程-v:

C:\Users\mshiner\Desktop\GitHub\test [master =]> git remote -v
origin  https://github.com/Me/test.git (fetch)
origin  https://github.com/Me/test.git (push)
回购推送:

C:\Users\mshiner\Desktop\GitHub\test [master =]> git push origin master
Username for 'https://github.com': #username
Password for 'https://me@github.com':
remote: Anonymous access to me/test.git denied.
fatal: Authentication failed for 'https://github.com/me/test.git/'

谢谢

您是否通过
ssh
https
克隆了此repo?必须是https,所有ssh通信都被阻止。您的
git clone
命令到底是什么样子的?git remote-v的输出是什么?git push的输出是什么?我已经将所有输出添加到我使用的命令中,谢谢!你试过了吗?
C:\Users\mshiner\Desktop\GitHub\test [master =]> git push origin master
Username for 'https://github.com': #username
Password for 'https://me@github.com':
remote: Anonymous access to me/test.git denied.
fatal: Authentication failed for 'https://github.com/me/test.git/'