我以前是 Windows 用户,刚刚开始使用 ubuntu。在 Windows 上,我们有两个很棒的软件:TortoiseSVN
和TortoiseGit
。两者都是非常好的程序,它们允许我们在不知道单个 cli 命令的情况下执行诸如提交、回滚、合并、查看历史记录、浏览存储库等所有操作。
现在在 Linux 上,我发现很难记住所有的 git 命令。git push
很好git remote add
。但合并是乏味的,尤其是解决冲突。在 TortoiseGit 中,只需单击几次右键即可!
我发现了一些像 git-gui 之类的垃圾,但功能无法与 TortoiseGit 相比。为什么 Linux 系统上没有成熟的 TortoiseGit 端口?
答案1
答案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
+ 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?]
注意:如果 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
+ 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]
第三名: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
荣誉奖:GitKraken
它仍处于开发阶段(1.5.1 仍然缺少 HiDPI 支持),但已经完成了基本工作。这可以轻松与 GitEye 和 SmartGit 竞争。它肯定比 QGit 更好。
其他的:
我对 git 客户端的类型感到失望。我猜他们的作者认为在命令行上完成日常简单的事情会更有效,并且他们的客户基于这种低效的工作流程。
答案3
我主要依赖的两个基本 GUI 客户端是gitg
Ubuntu 和gitx
OSX
gitg如下图所示:
吉特:https://apps.ubuntu.com/cat/applications/gitg/
gitx:http://frim.frim.nl/GitXStable.app.zip