在 TortoiseGIT 中获取克隆时 Msys Git 安装路径错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1384787/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Msys Git Install Path Error on Get Clone in TortoiseGIT
提问by Eric Schoonover
I installed Msys Gitand TortoiseGITx64. Whenever I try to use the Get Clone command I am getting the error: "Msys Git Install Path Error".
我安装了Msys Git和TortoiseGITx64。每当我尝试使用 Get Clone 命令时,都会收到错误消息:“Msys Git 安装路径错误”。
The wierd thing is that I when I set it all up, it worked once and then stopped. Now I have uninstalled and reinstalled both programs multiple times and I can not get it to work again.
奇怪的是,当我把它全部设置好时,它工作了一次然后就停止了。现在我已经多次卸载并重新安装这两个程序,但我无法再次使用它。
Msys Git Install Path Error http://friendfeed-media.com/82c54fedb7db8420f23782832e59ba3b54edf6e7
Msys Git 安装路径错误 http://friendfeed-media.com/82c54fedb7db8420f23782832e59ba3b54edf6e7
If this belongs on super user or something, please feel free to migrate.
如果这属于超级用户什么的,请随意迁移。
采纳答案by brianreavis
Try setting your path to:
尝试将您的路径设置为:
"C:\Program Files (x86)\Git\bin"
回答by Gashek
you must install msysGit - http://code.google.com/p/msysgit/downloads/list
您必须安装 msysGit - http://code.google.com/p/msysgit/downloads/list
回答by VonC
Update 2016: msysgithas long been obsoleted (since early 2015).
It has been superseded by Git For Windows(see its releases).
2016 年更新:msysgit早已过时(自 2015 年初以来)。
它已被Git For Windows取代(请参阅其版本)。
It comes with a much more recent bash, based on the 64bits msys2 project, an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64: see more at "How are msys, msys2, and msysgit related to each other?"
它带有一个更新的 bash,基于64 位 msys2 项目,MSYS 的独立重写,基于现代 Cygwin(POSIX 兼容层)和 MinGW-w64:请参阅“msys、msys2 和 msysgit 与彼此?”
TortoiseGit documentationdoes mention, for the Git.exe Path
setting:
TortoiseGit 文档确实提到了Git.exe Path
设置:
As a general note: There is no official support for Cygwin or Msys2 git in TortoiseGit. The TortoiseGit developers only use Git for Windows.
作为一般说明: TortoiseGit 中没有对 Cygwin 或 Msys2 git 的官方支持。TortoiseGit 开发人员只在 Windows 上使用 Git。
So simply install Git for Windows and you won't have any "Msys Git Install Path Error".
因此,只需为 Windows 安装 Git,您就不会遇到任何“Msys Git 安装路径错误”。