tldr/pages/linux/gitk.md

24 lines
430 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
2017-12-18 11:10:04 +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`
2018-01-15 07:48:49 +00:00
- Show repository browser for a specific file or folder:
2017-12-17 12:10:49 +00:00
`gitk {{path/to/file_or_folder}}`
2018-01-15 07:48:49 +00:00
- Show commits made since 1 week ago:
2017-12-17 12:10:49 +00:00
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`