tldr/pages/linux/gitk.md

24 lines
414 B
Markdown
Raw Normal View History

2017-12-16 15:08:21 +00:00
# gitk
2017-12-17 12:10:49 +00:00
> A graphical git repository browser.
2017-12-16 15:08:21 +00:00
- Show repository browser in current git repository:
2017-12-17 12:10:49 +00:00
`gitk`
- Show repository browse of a specific file or folder:
`gitk {{path/to/file_or_folder}}`
- Show commits since 1 week ago:
2017-12-17 13:11:23 +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
2017-12-17 13:11:23 +00: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`