mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 15:02:09 +02:00

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
770 B
770 B
git apply
Integriere eine Patch-Datei und/oder füge sie zum Index hinzu. Weitere Informationen: https://git-scm.com/docs/git-apply.
- Gib Informationen über gepatchte Dateien aus:
git apply --verbose {{pfad/zu/datei}}
- Integriere die Patch-Datei und füge sie zum Index hinzu:
git apply --index {{pfad/zu/datei}}
- Integriere eine externe Patch-Datei:
curl -L {{https://beispiel.de/datei.patch}} | git apply
- Gib diffstat des Inputs aus und integriere die Patch-Datei:
git apply --stat --apply {{pfad/zu/datei}}
- Integriere eine Patch-Datei in umgekehrter Reihenfolge:
git apply --reverse {{pfad/zu/datei}}
- Speichere das Ergebnis einer Patch-Datei im Index, ohne den Arbeitsbaum zu verändern:
git apply --cache {{pfad/zu/datei}}