TortoiseGit 是否与 PortableGit-xxxx-previewyyyyyy 一起使用?TortoiseGit 的兼容 git 版本是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8047483/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 12:15:56  来源:igfitidea点击:

Does TortoiseGit work with PortableGit-x.x.x.x-previewyyyyyy? What are compatible git versions for TortoiseGit?

gitportabilitytortoisegit

提问by numa

Does Tortoisegit work with PortableGit-x.x.x.x-previewyyyyyy? If yes, how to arrange these?

Tortoisegit 是否与 PortableGit-xxxx-previewyyyyyy 一起使用?如果是,如何安排这些?

采纳答案by VonC

Original answer (Nov. 2011)

原始答案(2011 年 11 月)

It depends on your Os (Win32 or 64), and on the combination of TortoiseGit and msysgit.
The latest versions of both should usually work together, but you can see some bugs still pending:

这取决于您的操作系统(Win32 或 64),以及 TortoiseGit 和 msysgit 的组合。
两者的最新版本通常应该一起工作,但您可以看到一些尚未解决的错误:

Whenever you have a similar issue, report it on the bug list, and look for an intermediate build.
The very latest ones, for instance, supposed to fix the current crashes, are:

每当您遇到类似问题时,请在错误列表中报告它,并寻找中间版本。
例如,应该修复当前崩溃的最新版本是:



Update Nov. 2015: TortoiseGit works with git-for-windows(msys2) which replaces msysgit.

2015 年 11 月更新:TortoiseGit 与git-for-windows(msys2) 一起使用,它取代了 msysgit

Both git-for-windows and GitHub Desktopnow propose Git 2.5(+)
(GitHub Desktop includes Portable Git 2.5 since this morning)

git-for-windows 和GitHub Desktop现在都提出了 Git 2.5(+)
从今天早上开始,GitHub Desktop 就包含了 Portable Git 2.5

回答by MrTux

TortoiseGit(as of 2.10) requires a command-line git.exe.

TortoiseGit(从 2.10 开始)需要命令行git.exe.

It works with a variety of different "git.exe providers". Known to work are:

它适用于各种不同的“git.exe 提供程序”。已知的工作是:

You can mix x86 and x64 versions of Git.exe and TortoiseGit. However, x64 TorotiseGit will only run on x64 Windows, same for the 32-bit/x86 version of TortoiseGit which will only run on x86 Windows.

您可以混合使用 x86 和 x64 版本的 Git.exe 和 TortoiseGit。但是,x64 TorotiseGit 只能在 x64 Windows 上运行,与 32 位/x86 版本的 TortoiseGit 相同,它只能在 x86 Windows 上运行。

TortoiseGit tries to find a Git for Windows installation or tries to find a git.exeon the PATHenvironment variable. If git.exeis not on your PATH, you can also set the path to git.exe manually in TortoiseGit settings dialog on the general page.

TortoiseGit 尝试为 Windows 安装查找 Git 或尝试git.exePATH环境变量中查找。如果git.exe不在您的PATHgit.exe上,您还可以在常规页面的TortoiseGit设置对话框中手动设置git.exe 的路径。