打开Git Bash报错:
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see ‘rebaseall / rebase –help’.
通过修改注册表,将git bash直接替换成bin目录下的sh.exe
打开运行,输入regedit打开注册表
找到目录中[HKEY_CLASSES_ROOT\Directory\Background\shell \ git_shell \ command]的值为C:\Program Files\Git\git-bash.exe
将其替换成C:\Program Files\Git\bin\sh.exe。
桌面就可以打开了