GITBash CMD打开时出错 [英] GITBash CMD Error while opening

查看:237
本文介绍了GITBash CMD打开时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

git Bash cmd错误显示在我的终端上时,我打开它。

请提供必要的操作来解决它



解决方案

如果 Cygwin / Git error cygheap base mismatch detected 正在工作,一个很好的测试就是在简化的PATH中引用Git。

  set G = c:\path\to\latest\git 
set PATH =%G%\ bin;%G%\usr \ bin;%G%\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \System32\WindowsPowerShell\\\v1.0\

请务必在' G ' latest Git ,你可以在任何你想要的地方提取: PortableGit-2.16.2-64-bit.7z.exe git bash 。 c $ c>再次。


git Bash cmd error is showing in my terminal when I opened it.
Please provide the necessary actions to solve it

解决方案

If none of the suggestions in "Cygwin/Git error cygheap base mismatch detected" are working, a good test is to reference Git in a simplified PATH.

set G=c:\path\to\latest\git
set PATH=%G%\bin;%G%\usr\bin;%G%\mingw64\bin
set PATH=%PATH%;C:\windows\system32;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\

Make sure to reference in 'G' the latest Git you can extract anywhere you want: PortableGit-2.16.2-64-bit.7z.exe, assuming you are on a Windows 64 bits.

Then, in that CMD session, try git bash again.

这篇关于GITBash CMD打开时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆