我测试了以下应用程序:

我测试了以下应用程序:

有没有类似的软件源树,一个用于 git 的 GUI,用于 Linux?我了解 Giggle、git cola 等。我正在寻找一个漂亮、易于使用的 git GUI。

答案1

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

答案2

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


我是 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

我测试了以下应用程序:

  • 吉特可乐
  • 吉特眼
  • 吉特克
  • git 图形用户界面
  • QGit
  • 傻笑
  • 蒂格
  • 智能Git
  • 吉特格
  • 兔子VCS
  • 吉特克拉肯
  • 吉特X
  • 吉特达格
  • 集市浏览器 + bzr-git
  • TortoiseHg + hggit(最好的 UI,hggit 不起作用)

结果

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

传奇

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

第一名: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?]

注意:如果 Git 文件视图对您不起作用,请使用类似的 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]

第三名: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

荣誉奖:GitKraken

它仍处于开发阶段(1.5.1 仍然缺少 HiDPI 支持),但已经完成了基本工作。这可以轻松与 GitEye 和 SmartGit 竞争。它肯定比 QGit 更好。

其他的:

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

答案3

吉特眼是相当不错的东西。而且,免费(如啤酒)。

答案4

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

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

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

Git Graph(右)和 Git Lens(左)

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

Git 历史提交详细信息

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

相关内容