Files
tldr/pages.zh/common/gitk.md

25 lines
513 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gitk
> 以图形方式浏览 Git 仓库。
> 另见:`git-gui``git-cola``tig`。
> 更多信息:<https://git-scm.com/docs/gitk>。
- 显示当前 Git 仓库的浏览器:
`gitk`
- 显示特定文件或目录的仓库浏览器:
`gitk {{path/to/file_or_directory}}`
- 显示自 1 周前以来的提交:
`gitk --since="{{1 week ago}}"`
- 显示早于 2016 年 1 月 1 日的提交:
`gitk --until="{{1/1/2015}}"`
- 显示所有分支中最多 100 个更改:
`gitk --max-count=100 --all`