LinuxCommandLibrary

quilt

Manage ordered series of patches

TLDR

Create new patch

$ quilt new [patch_name.patch]
copy
Add file to patch
$ quilt add [file]
copy
Apply next patch
$ quilt push
copy
Remove current patch
$ quilt pop
copy
Refresh patch
$ quilt refresh
copy
Show patch series
$ quilt series
copy

SYNOPSIS

quilt command [options]

DESCRIPTION

quilt manages an ordered series of patches against a source tree, allowing patches to be applied, removed, and updated independently. It maintains a series file listing patches in order and a patches/ directory containing the patch files, providing a structured workflow for maintaining modifications on top of upstream code.
The typical workflow involves creating a new patch with new, registering files to track with add, making changes, then saving the patch with refresh. Patches can be applied incrementally with push and removed with pop, and the entire series can be reordered or edited. Quilt is widely used in Linux distribution packaging to maintain downstream patches against upstream source.

PARAMETERS

new NAME

Create patch.
add FILE
Add file to patch.
push
Apply next patch.
pop
Remove current patch.
refresh
Update patch.
series
Show patch list.
diff
Show changes.

CAVEATS

Creates patches/ and series file. Standard patch format.

HISTORY

Quilt was inspired by Andrew Morton's patch scripts for kernel development.

SEE ALSO

patch(1), diff(1), git(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community