TOOL » GIT

Apply

Usage

Apply is used when patching.

OptionDescription
-v --verboseReport progress to stderr.
--checkOnly check if the patch is valid.
--whitespaceApply an action to whitespace errors.

Example

shell
git diff > mydiff.patch
git apply --whitespace=fix mydiff.patch