您的位置:首页 > 其它

Git图形用户工具介绍及比较

2011-05-14 22:53 585 查看
GITK简介

gitk - The git repository browser

Displays changes in a repository or a selected set of commits. This includes visualizing

the commit graph, showing information related to each commit, and the files in the trees of

each revision.

Historically, gitk was the first repository browser. It’s written in tcl/tk and started off

in a separate repository but was later merged into the main git repository.

GITK常用选项

-n <number>, --max-count=<number>

Limits the number of commits to show.

--since=<date>

Show commits more recent than a specific date.

--until=<date>

Show commits older than a specific date.

--select-commit=<ref>

Automatically select the specified commit after loading the graph. Default behavior is

equivalent to specifying --select-commit=HEAD.

举例

gitk v2.6.12.. include/scsi drivers/scsi

Show the changes since version v2.6.12 that changed any file in the include/scsi or

drivers/scsi subdirectories

gitk --since="2 weeks ago" -- gitk

Show the changes during the last two weeks to the file gitk. The "--" is necessary to

avoid confusion with the branch named gitk

gitk --max-count=100 --all -- Makefile

Show at most 100 changes made to the file Makefile. Instead of only looking for changes

in the current branch look in all branches.

GITK界面:


http://lwn.net/Articles/140350/


GitK界面说明参考下图,看样子是像windows截下来,无所谓了,内容一样,详细介绍可以参考下面这个链接
http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/


其他git图形用户工具

QGit, gitview, tig, smartgit

1) QGit

QGit在启动的时候可以弹出对话框让你选择你要显示的Top和Bottom,这点不错,但是初始化比gitk慢多了

QGit的图形显示较gitk更为直观

2) gitview

Did not find on Ubutnu 10.04LTS and Debian 6

3) tig

git文本模式的接口,较git直观

4)smartgit

windows下的git GUI工具
http://tech.ddvip.com/2010-12/1292917534164855.html


参考:
Guide to understanding gitk ? http://stackoverflow.com/questions/1570535/guide-to-understanding-gitk
git-rev-list(1) Manual Page http://www.kernel.org/pub/software/scm/git-core/docs/git-rev-list.html
Use gitk to understand git http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/
Use gitk to understand git – merge and rebase http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: