首页 新闻 搜索 专区 学院

VS2019_16.3.10提交Git错误

0
[已解决问题] 解决于 2020-03-15 16:03

VS2019输出,源代码管理 - Git

已在存储库 *\*\* 中本地创建提交 1a88faae
正在推送 Test
Pushing to ssh://*.*.*.*:*/*.git
Password authentication
发布到远程存储库时遇到错误: Git failed with a fatal error.
failed to acquire credentials.
Password authentication
failed to acquire credentials.
Password authentication
failed to acquire credentials.
Enumerating objects: 9, done.
Delta compression using up to 16 threads
Compressing objects:  20% (1/5)   
Compressing objects:  40% (2/5)   
Compressing objects:  60% (3/5)   
Compressing objects:  80% (4/5)   
Compressing objects: 100% (5/5)   
Compressing objects: 100% (5/5), done.
Writing objects:  20% (1/5)   
Writing objects:  40% (2/5)   
Writing objects:  60% (3/5)   
Writing objects:  80% (4/5)   
Writing objects: 100% (5/5)   
Writing objects: 100% (5/5), 438 bytes | 219.00 KiB/s, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: Resolving deltas:  33% (1/3)           
remote: Resolving deltas:  66% (2/3)           
remote: Resolving deltas: 100% (3/3)           
remote: Resolving deltas: 100% (3/3)        
remote: Updating references: 100% (1/1)           
remote: Updating references: 100% (1/1)        
To ssh://*.*.*.*:*/*.git
   f1e61ab8d..1a88faaeb  Test -> Test
updating local tracking ref 'refs/remotes/origin/Test'

failed to acquire credentials.
但又能提交成功,求解决思路!

悦峯的主页 悦峯 | 菜鸟二级 | 园豆:219
提问于:2019-11-27 19:01
< >
分享
最佳答案
0

提交是提交到本地,推送是push到远程仓库,提交成功,push失败。
在cmd里面 试一试 git push.

奖励园豆:5
czd890 | 大侠五级 |园豆:8995 | 2019-11-28 14:28

怀疑是git服务器https的证书配置问题,换成http没问题。
我的提交和push都是成功的,只是会报一个“failed to acquire credentials.”。

悦峯 | 园豆:219 (菜鸟二级) | 2019-12-09 09:18
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册