类似于 SourceTree 的 GIT GUI

Gle*_*rry 159 software-rec gui git

是否有类似于SourceTree的软件,一个用于 git 的 GUI,用于 Linux?我知道 Giggle、git cola 等。我正在寻找一个漂亮、易于使用的 git 图形用户界面。

小智 78

一个不错的选择是SmartGit。它具有与 SourceTree 非常相似的功能,并且内置了 3 列冲突解决、可视化日志、拉取、推送、合并、同步、标记和所有 git :)

  • 不幸的是 SmartGit 不是开源的。 (44认同)
  • @landroni SourceTree 也不是开源的,否则已经有人将它移植到 Linux 上了。 (4认同)
  • +1 我喜欢 SmartGit,我认为它是 Linux 上最先进的 git gui。然而,SourceTree 中的**分段**更加清晰**。另一方面,**三向合并和冲突解决在 SmartGit 中**好得多**。SourceTree 仅支持用于解决冲突的外部工具。 (2认同)
  • SmartGit 是我们在 Linux 平台上拥有的最接近 SourceTree 的东西,但它没有那么好。我最想念的是没有拼写检查(在提交消息中)和树视图(在文件中)。 (2认同)
  • Sourcetree 是免费的。SmartGit 是免费的吗? (2认同)

小智 53

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
+ super clear list of changed/added files (list + diff detail)
+ each changed/added file can be committed separately
+ current branch clearly visible while commiting
+ 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 won't 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
+ super clear list of changed/added files (list + diff detail)
~ each changed/added file can be commited separately [UI not clear enough]
- current branch clearly visible while commiting
+ 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
~ super clear 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 客户端传递的 **** 类型感到失望。我猜他们的作者认为在命令行上做日常简单的事情会更有效率,而且他们的客户基于这种低效的工作流程。

  • 截至昨天,[GitKraken 1.0 已发布](https://www.gitkraken.com/)。也许现在是试一试的好时机? (3认同)
  • GitEye 的大减:在需要检查的每个存储库中创建一个 .project 文件? (2认同)

thn*_*nee 21

GitEye是相当不错的东西。此外,免费(如啤酒)。

  • 嗯。GitEye 很大(约 100Mb),基于 eclipse 并在浏览我的工作树时用 **[this dialog](http://i.imgur.com/xRiXjcg.png)** 迎接我。那是怎么回事?! (13认同)

小智 16

GitKraken是 Linux 上使用 git 的最佳 GUI。它仅可免费用于非商业用途。在撰写此答案时,没有其他适用于 linux 的 GUI 客户端与此匹配。

你应该考虑看一次。

  • 不再是 100% 免费,但仍然是一个好客户。 (6认同)
  • 需要登录才能使用该应用程序对我来说是禁忌 (4认同)

小智 14

我尝试了所有适用于 Linux 的 git 客户端,但它们都有些糟糕。但因为我的 IDE 是 Visual Studio Code,所以我最终使用了 VSCode。我安装了以下扩展:

  • 吉特镜头
  • git图
  • Git 历史

唯一的问题是,大部分功能都在您的鼠标右键单击下,但 SourceTree 的所有功能都在那里。

Git Graph(右)和 Git Lens(左)

Git 历史(右)和 Git 镜头(左)

Git 历史提交详细信息

Git 历史记录(右)和 Git 函数(左)


lan*_*oni 12

一种界面并不可怕的开源 GIT GUI 是gitg. 从项目的网站

gitg 是用于查看 git 存储库的 GNOME GUI 客户端。

在此处输入图片说明

  • 不可怕,功能也不是超级丰富。这是“git log --graph --oneline --decorate”的图形版本 (2认同)

小智 5

如果您可以使用任何 JetBrains IDE ( https://www.jetbrains.com/ ),我建议您这样做。他们有一个非常好的 git 内置 GUI(以及其他 VCS)......也许不像这里提到的其他软件那样具有丰富的功能,但它确实有效。

另外,qgit 对我有用。我遇到的唯一问题是当我尝试切换到深色(黑底白字)GTK 主题时。