mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 21:47:06 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/bun-patch
Normal file
29
tldr/bun-patch
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bun patch
|
||||
|
||||
> Prepare a package for patching or generate a patch file.
|
||||
> More information: <https://bun.com/docs/pm/cli/patch>.
|
||||
|
||||
- Prepare a package for patching:
|
||||
|
||||
`bun patch {{package}}`
|
||||
|
||||
- Prepare a specific version of a package:
|
||||
|
||||
`bun patch {{package}}@{{version}}`
|
||||
|
||||
- Prepare a package located at a specific path:
|
||||
|
||||
`bun patch {{path/to/package}}`
|
||||
|
||||
- Generate a patch file for changes made to a package:
|
||||
|
||||
`bun patch --commit {{path/to/package}}`
|
||||
|
||||
- Generate a patch file and store it in a custom directory:
|
||||
|
||||
`bun patch --commit {{path/to/package}} --patches-dir {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user