Examples (5)
Prepare a package for patching
bun patch packagePrepare a specific version of a package
bun patch package@versionPrepare a package located at a specific path
bun patch path/to/packageGenerate a patch file for changes made to a package
bun patch --commit path/to/packageGenerate a patch file and store it in a custom directory
bun patch --commit path/to/package --patches-dir path/to/directorymade by @shridhargupta | data from tldr-pages