Files
cheatsheet-tldr/tldr/lazygit
2025-12-02 00:21:15 +00:00

38 lines
805 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://manned.org/lazygit>.
- Open Lazygit in the current repository:
`lazygit`
- Open Lazygit for a specific Git repository:
`lazygit {{[-p|--path]}} {{path/to/repository}}`
- Start Lazygit with focus on a specific panel:
`lazygit {{status|branch|log|stash|...}}`
- Print the default Lazygit configuration:
`lazygit {{[-c|--config]}}`
- Tail the Lazygit logs (useful with debug mode in another terminal):
`lazygit {{[-l|--logs]}}`
- Run Lazygit in debug mode:
`lazygit {{[-d|--debug]}}`
- Print the configuration directory:
`lazygit {{[-cd|--print-config-dir]}}`