简体   繁体   English

如何在 Mac OS 中安装 GitExtensions?

[英]How can I install GitExtensions in Mac OS?

I use Mac OS High Sierra version 10.13.6我使用 Mac OS High Sierra 版本 10.13.6

I want to install GitExtensions我想安装GitExtensions

I read here : https://git-extensions-documentation.readthedocs.io/en/latest/getting_started.html#installation-macos-2-5x-only我在这里阅读: https : //git-extensions-documentation.readthedocs.io/en/latest/getting_started.html#installation-macos-2-5x-only

If I run : mono GitExtensions.exe in the terminal there exist error like this :如果我在终端中运行: mono GitExtensions.exe ,则存在如下错误:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Process 767 detached
(lldb) quit
Abort trap: 6

How can I solve the error?我该如何解决错误?

Update更新

I get a solution, so I try change to be like this :我得到了一个解决方案,所以我尝试改变成这样:

mono --arch=32 GitExtensions.exe

There is exist new error like this :存在这样的新错误:

Fontconfig warning: ignoring UTF-8: not a valid region tag

If I run mono --version in the terminal, the result like this :如果我在终端中运行mono --version ,结果如下:

在此处输入图片说明

How can I solve the new error?如何解决新错误?

benhorgen's answer is not entirely wrong.本霍根的回答并非完全错误。 While there is a mono version of Git Extensions (v2.51 line) that does run just fine on Linux, it was my experience that even this mono version of GitExt doesn't work correctly on Mac (app crashes).虽然Git的扩展(V2.51线)的单声道版本,运行得很好Linux上,这是我的经验,即使GitExt的这个单版本无法在Mac(应用程序崩溃)正常工作。 It may be possible to resolve these issues but I don't believe there is any quick-and-easy path to getting it working.可能可以解决这些问题,但我认为没有任何快速简便的方法可以使其正常工作。

I had filed a bug report with the mono team back in january and provided a good bit of technical detail.早在 1 月,我就向 Mono 团队提交了一份错误报告,并提供了一些技术细节。 In that ticket, sancheolz proposed a potential workaround involving editing and rebuilding mono from source that you might try.在那张票中,sancheolz 提出了一种潜在的解决方法,包括您可以尝试从源代码编辑和重建单声道。 But I no longer have access to a Mac and am unable to test it.但我无法再使用 Mac 并且无法对其进行测试。 I would recommend to read that ticket and the setup instructions I had linked to there* and to try the proposed custom mono workaround.我建议阅读该票证和我链接到那里的设置说明*,并尝试建议的自定义单声道解决方法。 If successful, the mono team could make a patch upstream so that it is fixed for everyone.如果成功,单声道团队可以在上游制作补丁,以便为每个人修复。 If not, providing additional info directly to the mono project team still seems like the best path toward a resolution.如果没有,直接向单声道项目团队提供额外信息似乎仍然是解决问题的最佳途径。

* Direct link to install instructions I used: here . *我使用的安装说明的直接链接: here Normally, I would include those details in my post as well but there is a fairly large amount of technical information in both that and the ticket that I can't adequately reduce/simplify for this post.通常,我也会在我的帖子中包含这些详细信息,但是在该帖子和票证中都有相当多的技术信息,我无法为这篇文章充分减少/简化。 I had also originally filed the bug report with the git extensions project here and while the 2 issues are cross-linked, there may potentially be some small technical details that appear in one ticket but not the other.我还原来提交的bug报告与混帐Extensions项目在这里和而2个问题是交联,有可能潜在地出现在一张入场券一些小的技术细节,而不是其他。

Sorry for the bad news, but GitExtentions is written for the Windows operating system.对于坏消息很抱歉,但 GitExtentions 是为 Windows 操作系统编写的。 It will not run on MacOS.它不会在 MacOS 上运行。

I personally use SourceTree.我个人使用 SourceTree。 I know others are fans of the GitHub app.我知道其他人是 GitHub 应用程序的粉丝。 And there is Git integration in popular development environments like Eclipse and VS Code.在 Eclipse 和 VS Code 等流行的开发环境中也有 Git 集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM