Porcelain

Settings & shortcuts

Settings

SettingDefaultWhat it does
porcelain.diff.openInfloatingWindowWhere diffs, changed-file lists, the conflicts view and the merge editor open. editorTab keeps them in the main window. Falls back to tabs when the editor build can't open a window.
porcelain.diff.viewerporcelainWhich renderer shows file diffs. native is VS Code's own diff editor.
porcelain.push.protectedBranches["main","master"]Regular expressions matched against the whole branch name. Force push is refused on a match.
porcelain.update.methodmergeHow Update Project brings the branch up to date: merge or rebase.
porcelain.fetch.tagsautoWhether fetching brings tags: auto follows git's configuration, all, or none.

VS Code settings Porcelain follows

The diff viewer reads these from VS Code rather than keeping its own copies, so what you've set for the editor holds in a diff too.

SettingWhere it applies
files.autoSave, files.autoSaveDelayThe editable working-tree side of a diff, in all four modes. Flipping the setting takes effect in an open diff.
editor.hover.enabled, editor.hover.delayThe hover card in a diff pane.

Editor shortcuts

These are VS Code keybindings, so they show in the Keyboard Shortcuts editor and can be rebound. Windows and Linux use Ctrl for ⌘ and Alt for ⌥.

KeysCommandWhere
⌘⇧KPush…Anywhere.
⌘⌥GGit Operations…Anywhere.
⌘F7 / ⌘⇧F7Next File / Previous FileAn editor has focus; steps through the changed files' diffs.

Inside the views

These live inside Porcelain's own panels and follow IntelliJ.

KeysAction
⌘GGo to hash, branch or tag, in the Git Log
⌘⏎Commit, from the message box
⌘DShow Diff for the selected file, in Commit and Shelf
⌥⌘ZRollback the selected files
⇧⌘UUnshelve
⌘FFind, in a diff or a merge pane
↑ ↓ ← →, Home, End, PgUp, PgDnMove the caret in a diff pane; a vertical move steps over a collapsed run
F12Go to definition from the caret, in a diff pane; ⌘ click does the same for the symbol under the pointer
⌘K ⌘IShow the hover at the caret, in a diff pane
⌘SSave the working-tree side of a diff (a read-only side ignores it)
⌘Z / ⇧⌘ZUndo and redo in an editable pane, covering typed edits and gutter verbs
⌘ASelect all in an editable pane
EscClose the menu, popup or find bar