Git bash Error: Could not fork child process: There are no available terminals (-1)

Posted youcong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git bash Error: Could not fork child process: There are no available terminals (-1)相关的知识,希望对你有一定的参考价值。

错误信息:
Error: Could not fork child process: There are no available terminals (-1)

截图如下:

技术图片

解决办法:

(1)使用cmd命令tasklist,找到git bash的进程

(2)找到红色标记处

技术图片

(3)执行命令(taskkill /pid 9872 -t -f)将其杀死即可

技术图片

参考问题解决链接:
Git bash Error: Could not fork child process: There are no available terminals (-1)

以上是关于Git bash Error: Could not fork child process: There are no available terminals (-1)的主要内容,如果未能解决你的问题,请参考以下文章

错误记录Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read from remote )(代码

error: could not lock config file .git/config: Permission denied/Command failed with exit 255

解决IDEA 中git 无法自动push 提交问题 Push failed: Failed with error: Could not read from remote repository.(示例代

执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: r

could not read Username for 'https://github.com': No error

git call failed: [git clone Could not resolve host: git.openstack.org