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

32 lines
671 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.

# lazygit
> 一个简单的终端用户界面,用于 Git 命令,提供直观的界面来管理代码库。
> 更多信息:<https://github.com/jesseduffield/lazygit>。
- 在当前代码库中打开 Lazygit
`lazygit`
- 为特定 Git 代码库打开 Lazygit
`lazygit --path {{path/to/repository}}`
- 启动 Lazygit 并聚焦于特定面板:
`lazygit {{status|branch|log|stash|...}}`
- 打印默认的 Lazygit 配置:
`lazygit --config`
- 实时查看 Lazygit 日志(在另一个终端中调试模式下很有用):
`lazygit --logs`
- 以调试模式运行 Lazygit
`lazygit --debug`
- 打印配置目录:
`lazygit --print-config-dir`