1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.de/common/git-apply.md
2021-03-25 13:42:04 -03:00

16 lines
438 B
Markdown

# git apply
> Integriere eine Patch-Datei und/oder füge sie zum Index/Stage hinzu.
> Mehr 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`