Git Troubleshooting
Lazygit cannot commit
Section titled “Lazygit cannot commit”Signed commits from lazygit fail when GPG has no GUI pinentry and no TTY.
brew install lazygit pinentry-macmake stow-gnupg stow-zsh stow-lazygitgpgconf --kill gpg-agentThen open a new shell (so GPG_TTY is set) and run lazygit. Commit with c.
If lazygit is wedged at 100% CPU, it is likely the old 0.35 binary. lazygit --version should be 0.64 or newer.
Confirm GPG can sign without a TUI:
echo test | gpg --clearsign >/dev/nullA macOS pinentry window is expected when the agent cache is cold.