tldr/pages/common/gitk.md

26 lines
526 B
Markdown
Raw Normal View History

2017-12-16 15:08:21 +00:00
# gitk
2021-01-07 14:06:38 +00:00
> A graphical Git repository browser.
> See also: `git-gui`, `git-cola`, `tig`.
> 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`
- Show repository browser for a specific file or directory:
2017-12-17 12:10: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
`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
`gitk --until="{{1/1/2015}}"`
2017-12-17 12:10:49 +00:00
- Show at most 100 changes in all branches:
`gitk --max-count=100 --all`