git apply

커밋을 생성하지 않고 파일 및/또는 색인에 패치를 적용합니다. 같이 보기: git am (패치를 적용하고 커밋도 생성). 더 많은 정보: https://git-scm.com/docs/git-apply.

git apply --verbose {{경로/대상/파일}}

git apply --index {{경로/대상/파일}}

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

git apply --stat --apply {{경로/대상/파일}}

git apply --reverse {{경로/대상/파일}}

git apply --cache {{경로/대상/파일}}