git apply trailing whitespace code example
Example 1: git apply trailing whitespace
# default behaviour accepts whitespaces, override current config
git apply --whitespace=warn file.patch
Example 2: trailing whitespace git apply
git apply --reject --whitespace=fix mychanges.path