Trouble with Git on Windows 10

牧云@^-^@ 提交于 2019-12-08 14:44:41

First, try to type "bash" in a CMD where you have set up (for testing) a simplified PATH

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\Git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%MAVEN_HOME%\bin;%PATH%

Then simplify your .bashrc in order to check what causes those error messages.

I generally tend to rely on a simple Git installation, by unzipping PortableGit-2.19.0.rc2.windows.1-64-bit.7z.exe anywhere I want.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!