Ced
Ced

Reputation: 17327

sh.exe": /bin/git bad file number when git -version

Just installed git and when I run the git bash and enter git -version I get this error: sh.exe": /bin/git: bad file number.

During the installation I had one error but the installation proceeded :"unable to configure the line ending conversion core.autocrif true." Git GUI isn't launching and I get the error : "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." Trying to run as admin doesn't change it.

Upvotes: 2

Views: 1157

Answers (1)

Yaron Y. Goland
Yaron Y. Goland

Reputation: 766

I run into this problem occasionally (including about 5 minutes ago) and I "solve" it by re-installing the Git client.

Upvotes: 2

Related Questions