Visual Studio 15.7.6 更新问题:获取时遇到错误:Git 因致命错误而失败。
Visual Studio 15.7.6 Update Issue: Error encountered while fetching: Git failed with a fatal error.
将 Visual Studio 2017 更新到版本 15.7.6 后,我在同步或获取时会收到此错误消息:
Error encountered while fetching: Git failed with a fatal error.
HttpRequestException encountered. An error occurred while sending
the request. cannot spawn /C/Program Files (x86)/Microsoft Visual
Studio/2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team
Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or
directory could not read Password for 'https://ershadi@bitbucket.org':
terminal prompts disabled
这个问题是一个错误,但是有解决办法吗?
Visual Studio 15.7.6 Update Issue: Error encountered while fetching: Git failed with a fatal error.
是的,这是 Github 上的一个已知问题:Can't login to GitHub。
您可以尝试 KevinRamharak 和 whoisj 的解决方法:
凯文拉姆哈拉克:
Downloading the latest release and putting it on top of the files in
VIsual Studio 2017.
1. download the zip file gcmw-v1.17.0.zip from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases
2. navigate to C:\Program Files (x86)\Microsoft Visual Studio17\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\ (or wherever your 'missing' git-askpass.exe resides).
3. make a copy of the git-core folder and rename it backup or something like that
4. put the files from the zip file on top of the contents of your new git-core folder and overwrite where prompted
whoisj:
I'd like to announce GCM v1.17.1 Preview 1 is available for download.
While this won't directly fix the issue with Visual Studio being able
to authentication successfully with BitBucket, it should unblock you
if you...
Download and install the tool Use Git for Windows to interact with
your BitBucket repository in a way that forces it to authenticate
Logon using the Atlassian provided BitBucket interface. Once you've
done this, your credentials will be cached in the Windows Credential
Manager, and Visual Studio should have access to them. Please, let me
know how this goes and best of luck.
PS. Yes, we're still working towards a more permanent solution but I
wanted to provide a possible work around as early as possible.
希望对您有所帮助。
我尝试了@Leo Liu-MSFT 的回答,但它对我不起作用,唯一起作用的方法是将密码添加到位桶中 URL
和
将 Visual Studio 2017 更新到版本 15.7.6 后,我在同步或获取时会收到此错误消息:
Error encountered while fetching: Git failed with a fatal error. HttpRequestException encountered. An error occurred while sending the request. cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for 'https://ershadi@bitbucket.org': terminal prompts disabled
这个问题是一个错误,但是有解决办法吗?
Visual Studio 15.7.6 Update Issue: Error encountered while fetching: Git failed with a fatal error.
是的,这是 Github 上的一个已知问题:Can't login to GitHub。
您可以尝试 KevinRamharak 和 whoisj 的解决方法:
凯文拉姆哈拉克:
Downloading the latest release and putting it on top of the files in VIsual Studio 2017.
1. download the zip file gcmw-v1.17.0.zip from https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases 2. navigate to C:\Program Files (x86)\Microsoft Visual Studio17\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\ (or wherever your 'missing' git-askpass.exe resides). 3. make a copy of the git-core folder and rename it backup or something like that 4. put the files from the zip file on top of the contents of your new git-core folder and overwrite where prompted
whoisj:
I'd like to announce GCM v1.17.1 Preview 1 is available for download. While this won't directly fix the issue with Visual Studio being able to authentication successfully with BitBucket, it should unblock you if you...
Download and install the tool Use Git for Windows to interact with your BitBucket repository in a way that forces it to authenticate Logon using the Atlassian provided BitBucket interface. Once you've done this, your credentials will be cached in the Windows Credential Manager, and Visual Studio should have access to them. Please, let me know how this goes and best of luck.
PS. Yes, we're still working towards a more permanent solution but I wanted to provide a possible work around as early as possible.
希望对您有所帮助。
我尝试了@Leo Liu-MSFT 的回答,但它对我不起作用,唯一起作用的方法是将密码添加到位桶中 URL
和