适用于 Linux 的漂亮且功能丰富的 git GUI

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

A pretty and feature rich git GUI for Linux

gituser-interfacedvcsgitk

提问by Manish Sinha

I was checking out for a rich GUIfor Giton Linux. Of late I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced features.

我正在检查rich GUIfor Giton Linux。最近我开始大量使用它,并发现即使命令行非常有用,我仍然希望有一个 GUI 可供我使用,因为我对高级功能还不是很了解。

I came across this question on SO before, but I still have to ask this question again, as that question doesn't have my answer

之前在 SO 上遇到过这个问题,但我还是要再问这个问题,因为那个问题没有我的答案

  • I have used git-colaand gitk, but they look half-baked and gitk looks like I am working on some other DE. All the features I require in gitGUI is not in either or them.

  • I tried giggle, but it is more useful for watching diffs

  • I tried QGit, but it is not fully complete.
  • 我使用过git-colaand gitk,但它们看起来不成熟,而 gitk 看起来我正在开发其他一些 DE。我在 gitGUI 中需要的所有功能都不在其中一个或它们中。

  • 我试过了giggle,但它对于观察差异更有用

  • 我试过了QGit,但还没有完全完成。

Now let me tell how I want a foo-Git-GUI to look like:

现在让我告诉我我想要一个 foo-Git-GUI 的样子:

  • You can have a look at Bzr Explorer, it is highly usable and has many features than many of the above mentioned GUIs
  • 您可以看一下Bzr Explorer,它的可用性很高,并且比上面提到的许多 GUI 具有许多功能。

Anyone knows of any Git GUI which looks like the above example I posted above?

任何人都知道任何类似于我上面发布的示例的 Git GUI?

采纳答案by Christoph

I find myself using mainly gitgin combination with the command line for more complicated tasks.

我发现自己主要gitg与命令行结合使用来完成更复杂的任务。

Source repository: http://git.gnome.org/browse/gitg.

源代码库:http: //git.gnome.org/browse/gitg

Recently, a new version 0.3.2 has been released, which is a rewrite using Vala. It's not yet feature-complete compared to the old 0.2 series, but the refactor is expected to speed up future development.

最近发布了一个新版本0.3.2,它是使用Vala重写的。与旧的 0.2 系列相比,它还没有完成功能,但重构有望加快未来的发展。

Also, there are normally PPAs on Launchpad which contain a more up-to-date version than the standard repo. enter image description hereenter image description here

此外,Launchpad 上通常有 PPA,其中包含比标准存储库更新的版本。 在此处输入图片说明在此处输入图片说明

回答by yuvilio

Smartgitseems to be pretty feature rich. It allows committing, rebasing, visualizing branch history... It's not open source but is free to use for non-commercial projects.

Smartgit似乎功能非常丰富。它允许提交、变基、可视化分支历史......它不是开源的,但可以免费用于非商业项目

I installed it by downloading from the site, untarring and running bin/smartgit.sh. There are also ppas like this onethat have it.

我通过从站点下载、解压并运行bin/smartgit.sh. 也有像这样的ppas 。

Update (02/16)

更新 (02/16)

GitKraken, which is a node/electron based client has also entered into the foray with both .deb and standalone binaries. Here are screenshotsfrom its announcement.

GitKraken是一个基于节点/电子的客户端,它也参与了 .deb 和独立二进制文件的尝试。以下是其公告的截图

回答by Cascabel

I doubt you're going to find what you want if you haven't already. Linux users tend to be quite happy using CLIs so there's not nearly so strong a drive for a huge GUI.

我怀疑如果你还没有找到你想要的东西。Linux 用户往往对使用 CLI 感到非常满意,因此对于巨大的 GUI 的驱动力几乎没有那么强。

That said, you've somehow missed looking at git-gui. git-gui and gitk are the two that are actually part of the git suite, and they're designed to complement each other - gitk for looking at history and diffs, git-gui for making commits, merging, fetching, pushing...

也就是说,您不知何故错过了查看 git-gui。git-gui 和 gitk 实际上是 git 套件的一部分,它们旨在相互补充 - gitk 用于查看历史和差异,git-gui 用于提交、合并、获取、推送......

回答by Hosam Aly

Check EGit, the git plugin for Eclipse. It's out of incubation since June 2011. You can see how it looks in the user guide. Here are a few screenshots to wet your appetite:

检查EGit,Eclipse 的 git 插件。它从 2011 年 6 月开始孵化。您可以在用户指南 中查看它的外观。以下是一些可以满足您的胃口的屏幕截图:

  • New files:
  • 新文件:

New files to be added

要添加的新文件

  • Commit Window:
  • 提交窗口:

Commit window

提交窗口

  • History View:
  • 历史视图:

History View

历史视图

回答by black_puppydog

I just started running GitExtensionson Mono and it seems to work pretty well so far (running Ubuntu natty here). I had to install some libraries to get the compiled zip package to run:

我刚开始在 Mono 上运行GitExtensions,到目前为止它似乎运行得很好(在这里运行 Ubuntu natty)。我必须安装一些库才能运行编译后的 zip 包:

  • libmono-winforms2.0-cil for System.Windows.Forms
  • libmono-system-ldap2.0-cil for System.DirectoryServices

    Unfortunately there doesn't seem to be a packaged version for Ubuntu.

  • 用于 System.Windows.Forms 的 libmono-winforms2.0-cil
  • 用于 System.DirectoryServices 的 libmono-system-ldap2.0-cil

    不幸的是,似乎没有适用于 Ubuntu 的打包版本。

回答by T.E.D.

git gui is what I always use on Windows. It does just about everything I ever need to do in Git, and the graphical nature is invaluable for getting a good picture of what is going on.

git gui 是我在 Windows 上经常使用的。它几乎可以完成我在 Git 中需要做的所有事情,而且图形特性对于了解正在发生的事情是非常宝贵的。

I haven't tried it on Linux, but I doubt it is any worse there.

我还没有在 Linux 上尝试过,但我怀疑那里的情况更糟。

I think the reason there hasn't been a big push into alternative tools is that git-gui is more than good enough for those who like to use Guis.

我认为没有大力推动替代工具的原因是 git-gui 对于那些喜欢使用 Guis 的人来说已经足够好了。

回答by Frode Lillerud

GitKrakenis highly recommended. It is a cross-platform, modern and beautiful GIT client.

强烈推荐GitKraken。它是一个跨平台、现代且美观的 GIT 客户端。