Skip to content

Instantly share code, notes, and snippets.

@sdrabb
Last active December 24, 2021 10:31
Show Gist options
  • Select an option

  • Save sdrabb/d39c12f765e0626fdf823d2532fd9dbe to your computer and use it in GitHub Desktop.

Select an option

Save sdrabb/d39c12f765e0626fdf823d2532fd9dbe to your computer and use it in GitHub Desktop.
Quilt cheatsheet

Quilt

  • lets you manage a series of patches on top of working directory

  • Move the top of the patch stack quilt push [number|patchname|-a] quilt pop [number|patchname|-a]

  • Start a new patch after the topmost patch quilt new patchname

  • Add files to the current patch quilt add file quilt edit file

  • Refresh the current patch quilt refresh

  • Get the current/preceding/following patch quilt top quilt previous quilt next

  • List all/applied/unapplied patches in the series quilt series [-v] quilt applied quilt unapplied

  • Which patches modify a given file quilt patches filename quilt annotate filename

  • See the diff output quilt diff

  • Print/modify the patch header quilt header quilt header -e

  • Remove a patch quilt delete [-r] [patchname|-n]

  • Import a single patch quilt import [-P patchname] patchfile

  • Send a patch series per mail: quilt mail --send --to recipient

  • Convert a quilt series to git commits git quiltimport [--patches directory]

  • Quilt snapshot quilt snapshot then qult diff --snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment