Lazygit is a simple terminal tool for managing Git repositories. It provides an interactive interface for checking files, branches, commits, and stashes. You can use it to perform common Git tasks without typing many commands. Lazygit makes it easier to manage Git projects from the terminal with a simple interactive interface.
Here’s what you can do with Lazygit in Termux:
- View Git repository changes.
- Manage Git branches.
- Check commit history.
- Manage Git stashes.
- Open a specific Git repository.
- Filter Git history by a file or path.
- View Lazygit logs.
- Use debug mode.
- Create custom configuration files.
- Change the screen mode.
- Generate shell completion scripts.
Install Lazygit in Termux
Lazygit can be installed directly from the Termux package manager with a single command.
Install Lazygit.
pkg install lazygitLazygit is now installed and ready to use.
Use Lazygit in Termux
After installing Lazygit, move to any cloned Git repository using cd directory-name and then run Lazygit. You can also use different commands and options to open specific panels and manage your Git repository.
Start Lazygit.
lazygitOpen Lazygit with the status panel focused.
lazygit statusOpen Lazygit with the branch panel focused.
lazygit branchOpen Lazygit with the log panel focused.
lazygit logOpen Lazygit with the stash panel focused.
lazygit stashOpen a specific Git repository.
lazygit --path /path/to/repositoryFilter Git history by a file or path.
lazygit --filter path/to/fileShow the help menu.
lazygit --helpDisplay the installed version.
lazygit --versionRun Lazygit in debug mode.
lazygit --debugView Lazygit logs.
lazygit --logsPrint the default configuration.
lazygit --configShow the configuration directory.
lazygit --print-config-dirUse a custom configuration directory.
lazygit --use-config-dir /path/to/configUse a custom configuration file.
lazygit --use-config-file /path/to/config.ymlSet the Git working tree.
lazygit --work-tree /path/to/repositorySet the Git directory.
lazygit --git-dir /path/to/repository/.gitSet the initial screen mode.
lazygit --screen-mode fullAvailable screen modes are normal, half, and full.
Generate a Bash completion script.
lazygit completion bashGenerate a Zsh completion script.
lazygit completion zshStart the profiler on HTTP port 6060.
lazygit --profileYou can also combine different options to open a specific repository and use a selected screen mode. For example:
lazygit --path ~/myproject --screen-mode fullEnd Note
Lazygit is a simple tool for managing Git repositories from the terminal. You can use its interactive interface to check changes, branches, commits, and other Git information without using many separate Git commands.

