commands.sh

lazygit

all

A simple terminal UI for Git commands, providing an intuitive interface for managing repositories.

More info →

Options (5)

-p, --pathboolean

Open Lazygit for a specific Git repository

Example: lazygit {{[-p|--path]}} {{path/to/repository}}
-c, --configboolean

Print the default Lazygit configuration

Example: lazygit {{[-c|--config]}}
-l, --logsboolean

Tail the Lazygit logs (useful with debug mode in another terminal)

Example: lazygit {{[-l|--logs]}}
-d, --debugboolean

Run Lazygit in debug mode

Example: lazygit {{[-d|--debug]}}
--print-config-dirboolean

Print the configuration directory

Example: lazygit {{[-cd|--print-config-dir]}}

Examples (7)

Open Lazygit in the current repository

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]
made by @shridhargupta | data from tldr-pages