質問

I have tried both the Git shell installed by GitHub and that provided by Git for Windows on my Windows Server 2012 R2 virtual machine on XenServer 6.20

With each, git command line calls fail with the message

sh.exe has stopped working (APPCRASH)

This is a recent problem. Can anyone advise me of a solution?

役に立ちましたか?

解決

The issue appears to be caused by the XenServer 6.20 Guest tools I installed after first installing git.

There is an update for Windows Server 2012 R2. Alternatively, you can uninstall the guest tools, which is what I did.

FYI, I also posed this solution at jira.atlassian.com

他のヒント

This error went away after building GIT for Windows from Sources (version 3.2)

The instaler on the official page is too old.

See this post for detailed instructions on how to build from sources:

http://www.drupalonwindows.com/en/blog/build-git-windows-sources

And this other post on how to workaround the issue:

http://www.drupalonwindows.com/en/blog/git-shell-windows-reports-shexe-has-stopped-working-appcrash

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top