1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-04 01:53:27 +02:00
tldr/pages.de/common/git-apply.md

16 lines
441 B
Markdown

# git apply
> Integriere eine Patch-Datei und/oder füge sie zum Index/Stage hinzu.
> Weitere Informationen: <https://git-scm.com/docs/git-apply>.
- Gib Meldungen über eine gepatchten Datei aus:
`git apply --verbose {{pfad/zu/datei}}`
- Integriere die Patch-Datei und füge sie zum Index/Stage hinzu:
`git apply --index {{pfad/zu/datei}}`
- Integriere eine externe Patch-Datei:
`curl {{https://beispiel.de/datei.patch}} | git apply`