\starttext Repo initialisieren \starttyping $ git init \stoptyping Status ansehen \starttyping $ git status \stoptyping Dateien hinzufügen Änderungen durchführen ... anzeigen mit \starttyping $ git diff file1 \stoptyping Commit nach Änderungen Zitat: Für jedes neue Commit müssen die Änderungen angemeldet werden \starttyping $ git add geänderte_Datei $ git rm gelöschte_datei \stoptyping \type{$ Git status} zeigt was ins nächste commit aufgenommen wird. Historie ansehen : \footnote{Configure a smaller log-output: % # within footnote ??? gives #### or \# \type{ # git config --global alias.log log --oneline} } \starttyping $ git log % ruft more/most ??? auf $ git log --pretty=short/oneline % Allgemein: mit >datei umlenken in Datei \stoptyping \stoptext