In any buffer, you can enter C-h mto view descriptions of the main and secondary modes, which almost always include the key bindings defined by each mode (and if not, you can enter C-h band then find the mode you are interested in).
The main mode magit-diff-modeincludes the following bindings:
M-1 magit-show-level-1-all
M-2 magit-show-level-2-all
M-3 magit-show-level-3-all
M-4 magit-show-level-4-all
M-H magit-show-only-files-all
M-S magit-show-level-4-all
M-g magit-goto-diffstats
M-h magit-show-only-files
M-n magit-goto-next-sibling-section
M-p magit-goto-previous-sibling-section
M-s magit-show-level-4
source
share