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

 

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界面

 

GitK界面说明参考下图,看样子是像windows截下来,无所谓了,内容一样,详细介绍可以参考下面这个链接

http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/

gitk界面说明

 

 

其他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

smartgit

 

 

 

参考:

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值