Gitk

gitk:图形化git代码仓库查看工具


Gitk01.jpg


上图中:

  1. commit message
  2. committer
  3. commit date
  4. commit files list
  5. diff


安装

 sudo apt-get install gitk

OPTIONS

基本上git log 能用的命令 gitk也能用

gitk [<options>] [<revision range>] [--] [<path>...]


1. gitk 列出所有commit

2. gitk --committer=author 列出author的所有commit

  gitk --committer=xiaoping.chen

3. gitk filePath

  gitk frameworks/base/core/res/res/
  gitk frameworks/base/core/res/res/values/dimens.xml

4. gitk commitID

  gitk 449df7dd90859a23f0d8db685217087c3ddf6cc6

5. gitk branch name

  gitk 82KK_UNSTABLE_FUTURE_DORO820

6. ……

原文地址:https://www.cnblogs.com/yltleeral/p/4775713.html