git-applyGunakan perubahan dari file deskripsi perubahan (patch) kepada indeks perubahan tanpa mencatat sebuah komit. Lihat juga:
git am. Informasi lebih lanjut: https://git-scm.com/docs/git-apply.
git apply {{[-v|--verbose]}} {{jalan/menuju/berkas}}
git apply --index {{jalan/menuju/berkas}}
curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply
git apply --stat --apply {{jalan/menuju/berkas}}
git apply {{[-R|--reverse]}} {{jalan/menuju/berkas}}
git apply --cache {{jalan/menuju/berkas}}