HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gitk — Browse Git repositories graphically. See also: `git-gui`, `git-cola`, `tig`. More information: <http

Submitted by: @import:tldr-pages··
0
Viewed 0 times
repositoriescommandseegitkclibrowsegitgraphically

Problem

How to use the gitk command: Browse Git repositories graphically. See also: git-gui, git-cola, tig. More information: <https://git-scm.com/docs/gitk>.

Solution

gitk — Browse Git repositories graphically. See also: git-gui, git-cola, tig. More information: <https://git-scm.com/docs/gitk>.

Show the repository browser for the current Git repository:
gitk


Show repository browser for a specific file or directory:
gitk {{path/to/file_or_directory}}


Show commits made since 1 week ago:
gitk --since="1 week ago"


Show commits older than 1/1/2015:
gitk --until="1/1/2015"


Show at most 100 changes in all branches:
gitk --max-count=100 --all

Code Snippets

Show the repository browser for the current Git repository

gitk

Show repository browser for a specific file or directory

gitk {{path/to/file_or_directory}}

Show commits made since 1 week ago

gitk --since="1 week ago"

Show commits older than 1/1/2015

gitk --until="1/1/2015"

Show at most 100 changes in all branches

gitk --max-count=100 --all

Context

tldr-pages: common/gitk

Revisions (0)

No revisions yet.