右键快捷打开GitBash失败

  • Post author:
  • Post category:其他


右键快捷打开Git Bash here失败,提示:

Error: Could not fork child process: Resource temporarily unavailable (-1).

DLL rebasing may be required; see ‘rebaseall / rebase –help’.

解决方法:

1. 安装路径下F:\Program Files\Git\bin\sh.exe能启动git客户端。

2. 打开cmd,输入regedit打开注册表。找到目录中[HKEY_CLASSES_ROOT\Directory\Background\shell \ git_shell \ command],值为F:\Program Files\Git\git-bash.exe。替换成F:\Program Files\Git\bin\sh.exe。

修改后能打开git命令行,但是为什么有两个脚本,用途在哪,区别在哪,以后在深究。



版权声明:本文为u010529076原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。