体面的 Git 分支可视化工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21116069/
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
Decent Git Branch Visualization tool
提问by SdidS
I'm using git for a personal and big project which has a wide scope (not just programming) and lots of file. Hence I've a lot of branches and merges and I want to have a nice visualization tool for branches and merges in Git (esp. if it offer an animation just like gource or graph capability like PlasticSCM). gitk or git log are nice tools and I'm currently use them but not the exact solution.
我正在将 git 用于个人和大型项目,该项目具有广泛的范围(不仅仅是编程)和大量文件。因此,我有很多分支和合并,我想有一个很好的可视化工具,用于 Git 中的分支和合并(特别是如果它提供像 gource 一样的动画或像 PlasticSCM 这样的图形功能)。gitk 或 git log 是不错的工具,我目前正在使用它们,但不是确切的解决方案。
I like open source projects, and I prefer an application which just do the job (not a whole git front-end) however if there is no open source solutions, closed ones or heavy git softwares are welcomed. I've find:
我喜欢开源项目,我更喜欢只做这项工作的应用程序(不是整个 git 前端),但是如果没有开源解决方案,欢迎使用封闭的解决方案或重型 git 软件。我发现:
SeeGitApp(Not good for me, esp for a long and heavy branch and merging),
SeeGitApp(对我不好,尤其是一个又长又重的分支和合并),
GitCola(I couldn't install it on windows in the first try),
GitCola(第一次尝试时我无法在 Windows 上安装它),
GitVersionTree(very basic),
GitVersionTree(非常基础),
gitlist(server based, php, I couldn't try it),
gitlist(基于服务器,php,我无法尝试),
gittreemap,
gittreemap,
git2html.sh,
git2html.sh,
git log --pretty.
git log --pretty。
As I said, I've just search for open source and utilities. if there isn't such utility for this task what would you offer instead?
正如我所说,我只是在搜索开源和实用程序。如果这个任务没有这样的实用程序,你会提供什么?
回答by Ajedi32
回答by kostix
Stock gitk --all
or, at the console:
库存gitk --all
或,在控制台:
git log --graph --oneline --decorate --all
(I have this call aliased to git overview
, by the way). To get better results with the display consider setting the color.ui
Git configuration variable to auto
.
(git overview
顺便说一下,我将这个调用别名为)。为了获得更好的显示结果,请考虑将color.ui
Git 配置变量设置为auto
.
回答by Gjaldon
Here's a cool Git GUI tool that I've been using in the past - Source Tree. I highly recommend it.
这是我过去一直使用的一个很酷的 Git GUI 工具 - Source Tree。我强烈推荐它。