当我尝试使用时,我的控制台上出现此错误git pull:
远程:2021 年 8 月 13 日移除了对密码身份验证的支持。请改用个人访问令牌。远程:请参阅https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/了解更多信息。致命:无法访问“...”:请求的 URL 返回错误:403
这很奇怪,因为我两周前只是按照文档在 GitHub 上创建了一个令牌,该令牌将于 2021 年 10 月 26 日星期二到期。为什么今天删除了它?
我正在尝试使用git将我的存储库推送到visual studio团队服务项目,但是我得到了错误:
fatal: Authentication failed for (url of team project
Run Code Online (Sandbox Code Playgroud)
我正在使用cmds:
git remote add origin
https://XXXXXXX.visualstudio.com/DefaultCollection/_git/project
git push -u origin -–all
Run Code Online (Sandbox Code Playgroud)
有什么想法解决这个问题吗?
谢谢!
我正在尝试在Azure中克隆我的webapp.
当我运行git clone https://username@appname.scm.azurewebsites.net:443/appname.git终端要求我输入密码时.
但是当我填写我的密码时,它一直说认证失败了.
尽管我在Portal中多次更改了密码(设置 - >设置部署凭据).
它一直说我的身份验证失败了吗?
尝试访问私人公司tfs。他们通过授予Windows用户适当的权限(domain \ login)来授予我访问权限。
我可以访问tfs的Web界面,浏览存储库和其他东西。
但是当我尝试跑步时
git clone https://tfs.somehostname.com/tfs/somefolder/_git/therepository
Run Code Online (Sandbox Code Playgroud)
它失败了
Cloning into 'therepository'...
fatal: Authentication failed for 'https://tfs.somehostname.com/tfs/somefolder/_git/therepository/'
Run Code Online (Sandbox Code Playgroud)
尝试使用没有公司网络资料的家用电脑-同样的错误。
在PowerShell,Git Bash,通过VisualStudio克隆中尝试过-同样的错误。
SSH已关闭(使请求超时)。
Web和Git都要求一次凭证(尝试在Credentials Manager中删除-再次询问,提交网络正常后,git失败)
公司帮手试图提供帮助,但他所提供的只是tfs日志。他说,我的用户名不包含请求(通过将我的尝试时间戳与日志同步进行跟踪)。
2018-07-19 07:04:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.12.2+(Microsoft+Windows+NT+6.3.9600.0;+Win32NT+x64)+CLR/4.0.30319+VS15/15.0.0 - 401 2 5 62
2018-07-19 07:23:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.18.0.windows.1 - 401 2 5 62
2018-07-19 07:23:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.18.0.windows.1 - 401 1 3221225581 187
Run Code Online (Sandbox Code Playgroud)
而其他人包括它
2018-07-19 05:44:27 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 DOMAIN\LOGIN ANOTHERIP git/2.12.2+(Microsoft+Windows+NT+6.1.7601+Service+Pack+1;+Win32NT+x64)+CLR/4.0.30319+VS15/15.0.0 …Run Code Online (Sandbox Code Playgroud) PS E:\ Angular> git clone https://gitlab.com/souravgolui/MatDash.git
克隆到'MatDash'...远程:HTTP基本:访问被拒绝
致命:' https ://gitlab.com/的身份验证失败souravgolui / MatDash.git / '
该错误将显示在命令提示符下。请帮忙。我输入了错误的密码,但是没有第二次输入密码。
git ×4
azure ×1
azure-devops ×1
credentials ×1
git-pull ×1
github ×1
github-api ×1
gitlab ×1
tfs ×1
token ×1
windows ×1