2017-12-16 15:08:21 +00:00
|
|
|
# gitk
|
|
|
|
|
2021-01-07 14:06:38 +00:00
|
|
|
> A graphical Git repository browser.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://git-scm.com/docs/gitk>.
|
2017-12-16 15:08:21 +00:00
|
|
|
|
2021-01-07 14:06:38 +00:00
|
|
|
- Show the repository browser for the current Git repository:
|
2017-12-16 15:08:21 +00:00
|
|
|
|
2017-12-17 12:10:49 +00:00
|
|
|
`gitk`
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
- Show repository browser for a specific file or directory:
|
2017-12-17 12:10:49 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`gitk {{path/to/file_or_directory}}`
|
2017-12-17 12:10:49 +00:00
|
|
|
|
2018-01-15 07:48:49 +00:00
|
|
|
- Show commits made since 1 week ago:
|
2017-12-17 12:10:49 +00:00
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`gitk --since="{{1 week ago}}"`
|
2017-12-17 12:10:49 +00:00
|
|
|
|
2017-12-17 12:17:33 +00:00
|
|
|
- Show commits older than 1/1/2016:
|
2017-12-17 12:10:49 +00:00
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`gitk --until="{{1/1/2015}}"`
|
2017-12-17 12:10:49 +00:00
|
|
|
|
|
|
|
- Show at most 100 changes in all branches:
|
|
|
|
|
2017-12-17 13:11:23 +00:00
|
|
|
` gitk --max-count={{100}} --all`
|