Skip to main content
Version: 8.x

pnpm patch-commit <path>

Generate a patch out of a directory (inspired by a similar command in Yarn).

pnpm patch-commit <patchDir>

Options

---patches-dir <dir>

The generated patch file will be saved to this directory. By default, patches are saved to the patches directory in the root of the project.