lazygit for MAC

Free, open-source terminal interface for Git: stage lines, rebase, cherry-pick and undo with a few keys.

lazygit Overview

lazygit is a free, open-source terminal interface for Git. Instead of typing long Git commands, you see your files, branches, commits and stashes in panels in Terminal and work with them using a few keys: stage single lines, write commits, switch branches, rebase, cherry-pick and resolve conflicts. lazygit was created by Jesse Duffield, is developed with many contributors, and is released under the MIT license.

lazygit runs in any terminal on Apple Silicon and Intel Macs. The easiest way to install it is Homebrew, with brew install lazygit; then open a Git repository in Terminal and type lazygit. It works on top of the Git already on your Mac, so your repositories stay exactly as they are.

Key Features

lazygit turns the hardest parts of Git into a few keystrokes.

  • Stage lines and hunks: stage exactly the lines you want, not whole files.
  • Interactive rebase: squash, fix up, drop, edit and reorder commits from a list.
  • Cherry-pick: copy commits and paste them onto another branch.
  • Amend an old commit: change any earlier commit, not just the last one.
  • Undo: undo and redo many actions with z and Z.
  • Commit graph: see your branches and commits as a graph.
  • Worktrees and bisect: manage worktrees and find a bad commit with Git bisect.
  • Custom commands: add your own commands and key bindings.
  • Pull requests: see GitHub pull requests for your branches.

What’s New in Version 0.66.2

lazygit 0.66.2 improves submodule handling and fixes several bugs.

  • Better display and handling of deleted submodules and nested repositories or worktrees
  • Fixed diff rendering after scrolling far down
  • More precise double-click detection
  • lazygit now exits cleanly when a repository or worktree is deleted while it is open
  • Fixed the Jump to File menu showing only half of its entries in rare cases

lazygit FAQ

Is lazygit free?

Yes. lazygit is free and open source, released under the MIT license. You can support its development through GitHub Sponsors.

How do I install lazygit on a Mac?

Run brew install lazygit in Terminal if you use Homebrew. It is also available through MacPorts, and ready-made programs for Apple Silicon and Intel Macs are on its GitHub releases page.

How do I start lazygit?

Open Terminal, go to a folder that contains a Git repository, and type lazygit.

Do I still need Git installed?

Yes. lazygit is an interface on top of Git and uses the Git already installed on your Mac.

How do I stage only some lines of a file in lazygit?

Select the file, press Enter to see its changes, then move to the lines you want and press Space to stage them.

Can lazygit undo a mistake?

Yes. Press z to undo and Z to redo many actions, such as commits, rebases and branch changes. lazygit uses Git's reflog to do this.

How do I do an interactive rebase in lazygit?

In the commits panel, select a commit and use the keys shown at the bottom of the screen to squash, fix up, drop, edit or move commits. lazygit runs the rebase for you.

Can I see the list of keyboard shortcuts?

Yes. Press ? in any panel to see the key bindings for that panel.

Can I add my own commands to lazygit?

Yes. lazygit's configuration file lets you add custom commands and change key bindings.

Where does the lazygit download on lazygit.FULLMAC.app come from?

The download button leads to lazygit's official GitHub page at https://github.com/jesseduffield/lazygit, with the install instructions and releases. lazygit.FULLMAC.app does not change or repackage the tool.

Similar Apps

FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.