1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages.de/common/git-apply.md
2020-10-05 15:31:15 +01:00

16 lines
441 B
Markdown

# git apply
> Integriert eine Patch-Datei und/oder fügt sie zum Index/Stage hinzu.
> Mehr Informationen: <https://git-scm.com/docs/git-apply>.
- Gibt Meldungen über die gepatchten Dateien aus:
`git apply --verbose {{pfad/zur/datei}}`
- Integriert die Patch-Datei und fügt sie zum Index/Stage hinzu:
`git apply --index {{pfad/zur/datei}}`
- Integriert eine externe Patch-Datei:
`curl {{https://example.com/file.patch}} | git apply`