更新域密码后,无法再访问git-repo.VS Code和Source Tree以及Visual Studio在pull,push,fetch等上返回以下错误消息.
fatal: Authentication failed
Run Code Online (Sandbox Code Playgroud)
通常会出现凭据弹出窗口,但这不会发生.也是共同的建议......
git config --global credential.helper wincred
Run Code Online (Sandbox Code Playgroud)
...不管用.
尝试访问私人公司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) 我有一个 Azure DevOps 帐户,我试图用它来托管 git 存储库。问题是,当我添加远程源然后尝试时,系统会git push -u origin --all提示我输入密码,但帐户的密码结果为:fatal: Authentication failed for...
是否需要设置不同的密码或需要配置不同的密码才能访问 Azure DevOps Repos?我找不到关于为什么您的帐户密码失败或如何设置另一个可接受的密码的合理解释。感谢您的任何提示或建议!