# Lazygit menu ## Global
  m: view merge/rebase options
  P: push
  p: pull
  R: refresh
## Status
  e: edit config file
  o: open config file
  u: check for update
  s: switch to a recent repo
## Files
  c: commit changes
  A: amend last commit
  C: commit changes using git editor
  space: toggle staged
  d: delete if untracked / checkout if tracked
  e: edit file
  o: open file
  i: add to .gitignore
  r: refresh files
  s: stash files
  S: soft reset to last commit
  a: stage/unstage all
  t: add patch
  D: reset hard and remove untracked files
  enter: stage individual hunks/lines
  f: fetch
## Branches
  space: checkout
  o: create pull request
  c: checkout by name
  F: force checkout
  n: new branch
  d: delete branch
  r: rebase branch
  M: merge into currently checked out branch
  f: fast-forward this branch from its upstream
## Commits
  s: squash down
  r: rename commit
  R: rename commit with editor
  g: reset to this commit
  f: fixup commit
  d: delete commit
  J: move commit down one
  K: move commit up one
  e: edit commit
  A: amend commit with staged changes
  p: pick commit (when mid-rebase)
  t: revert commit
  c: copy commit (cherry-pick)
  C: copy commit range (cherry-pick)
  v: paste commits (cherry-pick)
## Stash
  space: apply
  g: pop
  d: drop
## Main (Normal)
  PgDn: scroll down
  PgUp: scroll up
## Main (Staging)
  esc: return to files panel
  : select previous line
  : select next line
  : select previous hunk
  : select next hunk
  space: stage line
  a: stage hunk
## Main (Merging)
  esc: return to files panel
  space: pick hunk
  b: pick both hunks
  : select previous conflict
  : select next conflict
  : select top hunk
  : select bottom hunk
  z: undo