| Key | Description |
|---|---|
q |
Quit lazygit |
Space |
Stage / unstage file |
a |
Stage all files |
c |
Commit staged changes |
p |
Push to remote |
P |
Pull from remote |
n |
Create new branch |
Enter |
View file diff / expand |
d |
Discard changes in file |
Tab |
Switch between panels |
x |
Open command menu |
? |
Open keybinding help |
/ |
Search |
z |
Undo last Git action |
lazygit Cheatsheet