简体   繁体   English

Git Visual Studio 2019 问题

[英]Git Issue with Visual Studio 2019

Recently when Git 2.30.1 installed on my machine, I start getting various error in VS 2019.最近,当我的机器上安装 Git 2.30.1 时,我开始在 VS 2019 中遇到各种错误。

Common issues常见问题

  • Authentication issue.身份验证问题。
  • ExecuteFetch执行获取
  • Pull operation failed.拉取操作失败。

Environment环境

  • VS 2019 Professional VS 2019 专业
  • Git 2.30.1 Git 2.30.1

Is there any solution for this?有什么解决办法吗?

Is there any way I can completely remove git from machine and install it again.有什么办法可以从机器上完全删除 git 并重新安装。

Check first in command-line:首先在命令行中检查:

  • if you can fetch/pull the same repository如果您可以获取/拉取相同的存储库
  • the type of URL used for your remote origin (HTTPS or SSH)用于远程来源的 URL 的类型(HTTPS 或 SSH)

If it is HTTPS, check your git config credential.helper : if it is manager-core , then microsoft/Git-Credential-Manager-Core issue 245 might be the issue.如果是 HTTPS,请检查您的git config credential.helper :如果是manager-core ,那么microsoft/Git-Credential-Manager-Core问题 245可能是问题所在。

For testing, try and switch to an SSH URL and see if the repository works better with VS 2019.为了进行测试,请尝试切换到 SSH URL 并查看存储库是否更适合 VS 2019。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM