Mac OS X 上有没有好的图形化 Git 和 Hg/Mercurial 客户端?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1081965/
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
Are there any good graphical Git and Hg/Mercurial clients on Mac OS X?
提问by Jens Kohl
I'm searching for compelling Git and Mercurial clients on Mac OS X. The most clients I've found so far were less compelling as I expected. Some of the clients are programmed even in Ruby or Tcl/Tk, which IMO aren't good OS X citizens in regard of integration in the OS.
我正在 Mac OS X 上寻找引人注目的 Git 和 Mercurial 客户端。到目前为止,我发现的大多数客户端都没有我预期的那么吸引人。一些客户端甚至是在 Ruby 或 Tcl/Tk 中编程的,IMO 在 OS 中的集成方面不是好的 OS X 公民。
I have clients similar to Versions.app or Cornetstone in mind, which are Subversion-only clients. Perhaps somebody got an insider tip for me.
我有一些类似于 Versions.app 或 Cornetstone 的客户端,它们是仅支持 Subversion 的客户端。也许有人为我提供了内幕消息。
回答by Martin Geisler
For Mercurial, you should take a look at MacHg. It's free and open source. It uses the native GUI toolkit for Mac and comes with its own bundled version of Mercurial. It is very polished:
对于 Mercurial,你应该看看MacHg。它是免费和开源的。它使用适用于 Mac 的本机 GUI 工具包,并带有自己的 Mercurial 捆绑版本。它非常精致:
(source: jasonfharris.com)
(来源:jasonfharris.com)
There are many more screenshotsavailable.
I've also heard many good things about SourceTree, which is both a Git and a Mercurial client. Atlassian (owners of Bitbucket) bought it recently and are now offering it as a free download.
我还听说过许多关于SourceTree 的好消息,它既是 Git 又是 Mercurial 客户端。Atlassian(Bitbucket 的所有者)最近购买了它,现在提供免费下载。
回答by Steve Streeting
I just thought I'd mention that SourceTreeis a Mac OS X client for bothMercurial and Git, in one tool. I wasn't sure if you were looking for that, or just mentioned both because you hadn't decided which to use yet; personally as an open source developer / user, having both available in one tool is very useful to me (that's why I wrote it :))
我只是想在一个工具中提到SourceTree是适用于Mercurial 和 Git的 Mac OS X 客户端。我不确定您是否正在寻找那个,或者只是提到了两者,因为您还没有决定使用哪个;作为一名开源开发人员/用户,在一个工具中同时使用这两种工具对我来说非常有用(这就是我编写它的原因:))
回答by Robert Trevellyan
I started a 21-day trial of SourceTree a couple of days ago (first public release was October 26th). I already prefer it to the other three well-known Mac OS GUIs for Mercurial, but I'm new to Mercurial and therefore not a power user. It most closely resembles Murky. It was very easy to get it up and running and its balance between features and simplicity suits my tastes very well.
几天前,我开始对 SourceTree 进行为期 21 天的试用(首次公开发布是 10 月 26 日)。与其他三个著名的 Mercurial Mac OS GUI 相比,我已经更喜欢它了,但我是 Mercurial 的新手,因此不是高级用户。它与 Murky 最相似。启动和运行它非常容易,它在功能和简单性之间的平衡非常适合我的口味。
I have no association with the developer other than being very happy with how quickly he's been responding to the issues I've raised.
除了对他对我提出的问题的反应速度感到非常满意之外,我与开发人员没有任何关系。
回答by Stobor
The main cocoa git gui apps are gitxand gitnub... But I figure you've already seen them... Do you have specific issues with them?
主要的可可 git gui 应用程序是gitx和gitnub......但我想你已经看过它们......你对它们有什么特定的问题吗?
(edit - granted, neither of these can perform a git clone
yet; they take over after a clone is created...)
(编辑 - 授予,这些都不能执行git clone
;它们在创建克隆后接管......)
回答by Jim Correia
For a graphical Mercurial client on Mac OS X, take a look at Murky.
对于 Mac OS X 上的图形 Mercurial 客户端,请查看Murky。
I typically use the command line along with BBEdit for viewing my diffs.
我通常使用命令行和 BBEdit 来查看我的差异。
Enable the extdiff extension by adding the following line to the [extensions] section of your .hgrc file:
通过将以下行添加到 .hgrc 文件的 [extensions] 部分来启用 extdiff 扩展:
extdiff=
Then add a section below
然后在下面添加一个部分
[extdiff]
cmd.bbdiff = bbdiff
opts.bbdiff = --wait --resume
Now when you execute hg bbdiff
the changed files will be diffed one at a time in BBEdit.
现在,当您执行hg bbdiff
更改的文件时,将在 BBEdit 中一次更改一个。
回答by Brendan
回答by Steve Losh
Honestly, there's nothing with the polish of Versions or Cornerstone for git, Mercurial or Bazaar yet. Maybe someone will change that in the future, but for right now if you want a graphical client you'll have to settle for something like GitX or Murky.
老实说,对于 git、Mercurial 或 Bazaar 的 Versions 或 Cornerstone 的润色还没有。也许将来有人会改变这一点,但现在如果你想要一个图形客户端,你必须满足于 GitX 或 Murky 之类的东西。
回答by kuy
Now TortoiseHgproject ports to Mac OS X. It uses Qt+ as GUI toolkit, so it works on major platforms.
现在TortoiseHg项目移植到 Mac OS X。它使用 Qt+ 作为 GUI 工具包,所以它可以在主要平台上运行。
回答by Chris McCauley
It's commercial but I use Araxis Merge. I've used it on Windows, there's a very similar clone called Meld for Linux which I've used for years and the Mac version is very solid too.
它是商业的,但我使用 Araxis Merge。我在 Windows 上使用过它,有一个非常相似的克隆,叫做 Meld for Linux,我已经使用了多年,Mac 版本也非常可靠。
It's pretty handy to have the same (or very nearly the same) too on all three platforms.
在所有三个平台上都拥有相同(或几乎相同)也非常方便。
I'm more familiar with Mercurial than git so I'm very comfortable recommending it with Hg. As an aside, I'm guessing that you know how the hg extdiff command works but if not post a comment.
我对 Mercurial 比 git 更熟悉,所以我很乐意用 Hg 推荐它。顺便说一句,我猜你知道 hg extdiff 命令是如何工作的,但如果不发表评论。