首页 > 解决方案 > 无法推送到回购 [GIT]:匿名访问被拒绝

问题描述

我使用 Github web 创建了一个新的 repo,我克隆了它,现在我正试图推动一个新文件的创建。

我收到以下错误:

Username for 'https://github.com': user
Password for 'https://user@github.com': 
remote: Anonymous access to user/repo.git denied.
fatal: Authentication failed for 'https://github.com/user/repo.git'

我支持公司代理,因此不能选择使用 ssh。我必须使用 https 解决这个问题。知道发生了什么吗?在花费了合理的时间后,我找不到任何有效的解决方案......

标签: gitgithubproxy

解决方案


推荐阅读