Episode 102/2017: Wie kann ich mit git auf der Kommandozeile alle Änderungen an einer Datei nachvollziehen?

Eine oft gehörte und gestellte Frage, die Antwort darauf ist eigentlich ganz einfach:

git log -p <datei>

Siehe manpage:

COMMON DIFF OPTIONS
 -p, -u, --patch
 Generate patch (see section on generating patches).

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)