cg-patch(1)
NAME
- cg-patch - apply a patch from a file, standard input, or a
- commit
SYNOPSIS
- cg-patch [-c] [-C COMMIT] [-pN] [-R] [-m | -d DIR] [OTH
- ER_OPTIONS] < PATCH.sp
DESCRIPTION
Arraymode changes, file renames, distinguishing removal of files and
empty files, etc. Newly created files are automatically
cg-add(1)ed and removed files are cg-rm(1)oved..sp cg-patch(1)
can also automatically commit the applied patches and extract
patches from existing commits, therefore effectively enabling you
to cherrypick certain changes from a different branch..sp In comparison with the git-apply tool, cg-patch(1) will also apply
fuzzy patches..sp
OPTIONS
- ArrayThis means only that file adds and removals will be recorded even
if the patch file does not explicitly describe them. Use this if
the patch was not produced by cg-diff(1) or similar but by a traditional diff tool.
Takes the diff on stdin (unless specified otherwise). - -h, --help
- Print usage summary.
- --long-help
- Print user manual. The same as found in cg-patch(1).
COPYRIGHT
Copyright © Petr Baudis, 2005.sp
SEE ALSO
- Array12/05/2006