Files
cheatsheet-tldr/tldr/lazygit
2024-12-19 00:18:26 +00:00

38 lines
773 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# lazygit
> A simple terminal UI for Git commands, providing an intuitive interface for managing repositories.
> More information: <https://github.com/jesseduffield/lazygit>.
- Open Lazygit in the current repository:
`lazygit`
- Open Lazygit for a specific Git repository:
`lazygit --path {{path/to/repository}}`
- Start Lazygit with focus on a specific panel:
`lazygit {{status|branch|log|stash|...}}`
- Print the default Lazygit configuration:
`lazygit --config`
- Tail the Lazygit logs (useful with debug mode in another terminal):
`lazygit --logs`
- Run Lazygit in debug mode:
`lazygit --debug`
- Print the configuration directory:
`lazygit --print-config-dir`