Skip to content

Latest commit

 

History

History
70 lines (35 loc) · 906 Bytes

lazygit.md

File metadata and controls

70 lines (35 loc) · 906 Bytes

Cheat Sheet

Moving Around

TAB or h l = Switch between left panels

j k = move up down inside left panel

J K = move up down inside left panel

[ ] = move between tabs in one left panel

Look at History of One File

<c-s> search for a file

Status panel

1 = status panel

a log over all branches

Files panel

2 = files

a = stage / unstage all files

space = stage / unstage one file

c = commit

s = stash entire wortree

Branches panel

3 = branches

space = checkout branch

p = pull

P = push

n = new branch

Commits panel

4 = commits

s = squash - fold down commit, keeping message

f = fold down, discarding amment

Stash panel

5 = stash

enter = view stash

space = apply without removing from stash

g = apply and remove from stash

d = delete


https://oliverguenther.de/2021/04/lazygit-an-introduction-series/