问题描述
Cygwin的最新git,svn和git-svn组合卡住了旧版本,它们具有 git-svn 。我正在考虑只是下载官方的Windows版本(警告:这将开始下载:),把它放在我的路径,并从Cygwin调用这些二进制文件。
Cygwin's latest git, svn and git-svn combination is stuck at old versions that have numerous git-svn bugs. I'm considering just downloading the official windows version (warning: this will start the a download: http://git-scm.com/download/win ), putting that in my path, and calling those binaries from Cygwin. What are the downsides to this?
推荐答案
非Cygwin Windows二进制文件将无法看到Cygwin风格的文件路径。例如,您的主目录可能是从Cygwin看到的 / home / yourname
,但 C:\cygwin\home\yourname
从Windows。 Windows安装
git
和类似Unix的Cygwin工具包之间的交互可能非常棘手。
Non-Cygwin Windows binaries won't be able to see Cygwin-style file paths. For example, your home directory might be /home/yourname
as seen from Cygwin, but C:\cygwin\home\yourname
as seen from Windows. Interactions between a Windows installation of git
and the Unix-like Cygwin toolkit are likely to be very tricky.
线结束也可能是一个问题。
Line endings may also be an issue.
另一种方法是从源代码构建 git
。
An alternative is to build git
from source.
这篇关于使用cygwin官方Windows Git二进制文件的缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!