mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
578 B
Plaintext
34 lines
578 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# quilt
|
|
|
|
> Manage a series of patches.
|
|
> More information: <https://manned.org/quilt>.
|
|
|
|
- Import an existing patch from a file:
|
|
|
|
`quilt import {{path/to/file.patch}}`
|
|
|
|
- Create a new patch:
|
|
|
|
`quilt new {{filename.patch}}`
|
|
|
|
- Add a file to the current patch:
|
|
|
|
`quilt add {{path/to/file}}`
|
|
|
|
- After editing the file, refresh the current patch with the changes:
|
|
|
|
`quilt refresh`
|
|
|
|
- Apply all the patches in the series file:
|
|
|
|
`quilt push -a`
|
|
|
|
- Remove all applied patches:
|
|
|
|
`quilt pop -a`
|