Files
cheatsheet-tldr/tldr/gitk
2024-04-26 00:13:28 +00:00

31 lines
620 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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/2016:
`gitk --until="{{1/1/2015}}"`
- Show at most 100 changes in all branches:
`gitk --max-count=100 --all`