0

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

enter image description here

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
om mohan
  • 27
  • 3

1 Answers1

0

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250