Skip to docs content

scpm patch-commit

  • Usage: scpm patch-commit [--patches-dir <DIR>] <DIR>

Generate a .patch file from a scpm patch edit directory

Arguments

<DIR>

The edit directory printed by scpm patch.

The matching source snapshot is read from a sibling source/ dir, located via the .scpm_patch_state.json sidecar.

Flags

--patches-dir <DIR>

Where to write the generated .patch file, relative to the project root.

Defaults to patches.

Default: patches