git - 无法推送到回购 [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 解决这个问题。知道发生了什么吗?在花费了合理的时间后,我找不到任何有效的解决方案......
解决方案
推荐阅读
- python - 为什么 form.is_valid 返回 false?出现此错误?
- laravel - 如何制作自定义忘记控制器?
- mongodb - 需要一些关于我的 mongodb 聚合查询的帮助
- android - 在 setRemoteDescription 之后永远不会调用 onIceCandidate - webrtc - Android
- perl - 使用 Net::SSLeay perl 模块与 OpenSSL 1.0.2j(2016 年 9 月 26 日)进行 SSL 握手时出错
- mac-catalyst - 检测没有修饰符的按键
- c# - 为什么这个 MySQL 插入查询不起作用?
- angular - 在 Angular 8 和 Jasmine 中模拟 MatSnackBar
- xml - 如果属性仅等于两个可能值之一,则获取值的 XPath 是什么
- python - 将数据从 csv 推送到 postgres