Git Bash终端打不开的解决办法

Error:could not fork child process: There are no available terminals (-1).

1、在cmd中命令输入tasklist      查看 git-bash.exe进程,找到对应的进程号pid
2、tasklist | findstr 进程号pid                 #找到进程号对应的进程
3、taskkill /pid 进程号pid -t -f                 #是终止相应进程号的命令,终止后,即可打开git bash 终端

如果还是不行,重启电脑就OK了

 

 

 

 

 

 

 

 

相关文章: