HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simpleterminalcommandcommandslazygitcliforgit

Problem

How to use the lazygit command: A simple terminal UI for Git commands, providing an intuitive interface for managing repositories. More information: <https://manned.org/lazygit>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/lazygit

Revisions (0)

No revisions yet.