在 Linux 上是否有可用的 gui 前端来 git?

Shi*_*cob 26 software-rec gui git

我以前是 Windows 用户,刚开始使用 ubuntu。在 Windows 上,我们有两个很棒的软件:TortoiseSVNTortoiseGit. 两者都是非常好的程序,它们允许我们在不知道单个 cli 命令的情况下执行所有操作,例如提交、回滚、合并、查看历史记录、浏览存储库等。

现在在 linux 上,我发现很难记住所有内容的 git 命令。git pushgit remote add罚款。但合并是乏味的,尤其是解决冲突。在 TortoiseGit 中,只需单击几下鼠标右键即可!

我发现了一些垃圾,如 git-gui 等,但这些功能无法与 TortoiseGit 相提并论。为什么 Linux 系统上没有任何成熟的 TortoiseGit 端口?

slm*_*slm 19

GIT 项目维护一个页面,其中包含可用于所有免费和商业平台的所有 GUI。我会在这里列出它们,但它是一个非常广泛的列表,包含屏幕截图和描述。

GIT 也随之而来,通常带有 2 个 GUI。您可以按如下方式运行它们:

$ git gui
Run Code Online (Sandbox Code Playgroud)

             党卫军#1

如果您在本地克隆的 GIT 工作区中,您可以使用gitk它来浏览它:

$ gitk
Run Code Online (Sandbox Code Playgroud)

    党卫军#2

注意:如果未安装它们,您可以安装它们,通常使用以下软件包名称:

- git-gui
- gitk
Run Code Online (Sandbox Code Playgroud)

其他选项

在 GIT 页面上,有这些可用于 Linux 的免费选项。

        SS #3

        SS #4

        SS #5

        党卫军#6

        党卫军#7


小智 9

tl;dr:GitEye = 最直观的用户界面、最快的工作流程、高度可定制的


我是 TortoiseHg Workbench 的超级用户,我很喜欢它,所以自然而然,我完全自以为是的标准主要基于它:

* full history visible in main window
* beautiful tree (DAG), branches CLEARLY separated
* current branch clearly visible in history
* superclear list of changed/added files (list + diff detail)
* each changed/added file can be committed separately (or in groups)
* current branch clearly visible while committing
* clear push/pull etc buttons
* shelve = stash {not to be confused with patches}
* revert
* graft = cherry pick
* max git features
* HiDPI support
* all changes become visible on refresh
* refresh shortcut
Run Code Online (Sandbox Code Playgroud)

我测试了以下应用程序:

  • 可乐
  • 健眼
  • GITK
  • git-gui
  • QGit
  • 傻笑
  • 蒂格
  • 智能Git
  • gitg
  • 兔VCS
  • 海妖
  • GitX
  • git-dag
  • Bazaar Explorer + bzr-git
  • TortoiseHg + hggit(最好的用户界面,hggit 不起作用)

结果

大多数经过测试的 git GUI 客户端都是完整的 ****,下面是 2 个最好的和 1 个不如其他的 ****。

传奇

- = feature missing or so **** it doesn't count
~ = feature somewhat matches my requirements
+ = feature works like I want :)
Run Code Online (Sandbox Code Playgroud)

第一名:GitEye

最直观的用户界面,最快的工作流程,高度可定制

~ full history visible in main window [in a separate tab, same UI pattern facilitates looking at the history of separate files]
+ beautiful tree (DAG), branches CLEARLY separated
+ current branch clearly visible in history
+ superclear list of changed/added files (list + diff detail)
+ each changed/added file can be committed separately
+ current branch clearly visible while committing
+ clear push/pull etc buttons
+ shelve = stash [Stashes clearly visible in sidepane]
+ revert
+ graft = cherry pick
+ max git features
~ HiDPI support
+ all changes become visible on refresh
- refresh shortcut [you can set one, but it wont work. bug?]
Run Code Online (Sandbox Code Playgroud)

注意:如果 Git Files 视图对您不起作用,则使用类似的 Git Staging 视图。

第二名:SmartGit

漂亮的集成文件差异。提交不清楚,历史隐藏,需要许可证

~ full history visible in main window [separate window, I found myself constantly confusing both windows]
- beautiful tree (DAG), branches CLEARLY separated
- current branch clearly visible in history
+ superclear list of changed/added files (list + diff detail)
~ each changed/added file can be committed separately [UI not clear enough]
- current branch clearly visible while committing
+ clear push/pull etc buttons
+ shelve = stash 
+ revert
+ graft = cherry pick
+ max git features
+ HiDPI support
+ all changes become visible on refresh [refreshes automatically]
+ refresh shortcut [refreshes automatically]
Run Code Online (Sandbox Code Playgroud)

第三名:QGit

漂亮清晰的历史记录,提交 UX 凌乱,轻量级,可以添加自定义命令

+ full history visible in main window
+ beautiful tree (DAG), branches CLEARLY separated
+ current branch clearly visible in history
~ superclear list of changed/added files (list + diff detail) [doesn't show new files in main window]
- each changed/added file can be committed separately
- current branch clearly visible while committing
~ clear push/pull etc buttons [could be added via custom commands]
- shelve = stash 
- revert 
- graft = cherry pick
- max git features
+ HiDPI support
~ all changes become visible on refresh [except for new files]
+ refresh shortcut
Run Code Online (Sandbox Code Playgroud)

荣誉提名:GitKraken

它仍处于开发阶段(1.5.1 仍缺少 HiDPI 支持),但已完成基本工作。这很容易与 GitEye 和 SmartGit 竞争。它肯定比 QGit 好。

其他的:

我对作为 git 客户端传递的 **** 类型感到失望。我猜他们的作者认为在命令行上做日常简单的事情会更有效率,而且他们的客户基于这种低效的工作流程。


Mic*_*ant 6

我依赖的主要两个基本 gui 客户端分别gitg用于 Ubuntu 和gitxOSX

gitg 如下图:

在此处输入图片说明

gitg:https:
//apps.ubuntu.com/cat/applications/gitg/ gitx:http : //frim.frim.nl/GitXStable.app.zip