git-apply

apply Apply a patch to files and/or to the index.…

git apply

Apply a patch to files and/or to the index. More information: https://git-scm.com/docs/git-apply.

git apply --verbose {{path/to/file}}

git apply --index {{path/to/file}}

curl {{https://example.com/file.patch}} | git apply

git apply --stat --apply {{path/to/file}}

git apply --reverse {{path/to/file}}

git apply --cache {{path/to/file}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← git-annotate git-archive →