简体   繁体   中英

Git crash while using intelliJ: “git.exe - Bad Image”

So this just happened after using git on current machine for months. I copied a directory inside intelliJ and my git crashed. git-gui gives git.exe - Bad Image , intellij gives git.exe - Bad Image , command line git commands don't respond.

在此处输入图片说明

Has anyone encountered this before? What could be the cause of it?

From the Comments:

Have you tried reinstall `git`? Sometimes it's as simple as that.

Response:

just reinstalled, that seems to have fixed it. It's still worrying that git core dll file can get corrupted for unknown reasons.

I'm answering this so other users with the same problem can easily determine the answer that was provided.

I faced the similar issue. It was solved after I reinstalled the git. I do not know the exact reason why the git file has already corrupted. But this solved the issue for me. Please go to this link at https://git-for-windows.github.io/ to download git for windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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