4Was sind Commits?

Der wichtigste Begriff in Git ist das Commit. Git verwaltet Versionen von Software, und jede Version wird als Commit in einem Repository abgelegt. Ein Commit umfasst dabei immer das ganze Projekt. Mit einem Commit wird für jede von Git verwaltete Datei im Projekt eine Kopie im Repository gespeichert.

Abbildung 4–1 zeigt eine Zusammenfassung1 wichtiger Informationen zu einem Commit.

commit 9acc5d5efec1d2d62f7e98bcc3880cda762cb831Author: Bjørn Stachmann <bstachmann@yahoo.de>Date: Sat Dec 18 18:20:45 2010 +0100

Abschnitt darüber, was Commits sind.

buch/commits/commits.tex | 28 +++++++++++++++++++++++++---1 files changed, 25 insertions(+), 3 deletions(-)

Abb. 4–1Informationen zu einem Commit

Als Erstes sieht man den sogenannten ...

Get Git, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.