# HG changeset patch # User Oleksandr Gavenko # Date 1543849456 -7200 # Node ID fdcdf49ddc714ada92aace2b2c178b3431962741 # Parent b30c7905636da2a1d1785cdde2b77ad399eb136a quilt mastery. diff -r b30c7905636d -r fdcdf49ddc71 quilt.rst --- a/quilt.rst Mon Dec 03 16:56:36 2018 +0200 +++ b/quilt.rst Mon Dec 03 17:04:16 2018 +0200 @@ -18,3 +18,69 @@ $ quilt pop $ quilt push +Folding patch +============= +:: + + quilt pop + quilt top + quilt fold < patches/fix-x.patch + quilt diff -z + quilt refresh + quilt delete -r fix-x.patch + +Integrating local VCS changes +============================= + +Integrating working directory changes from ``git``/``hg`` to ``quilt`` if they are in files +unmanaged by ``quilt``:: + + quilt pop -a + git st + git diff >patches/tmp.patch + git reset --hard + quilt push my.patch + quilt fold .diff + quilt import -p 0 -P .diff fix.patch +