Nächste: , Nach oben: Einreichen von Patches   [Inhalt][Index]


22.7.1 Git einrichten

Wenn es noch nicht geschehen ist, wollen Sie vielleicht den Namen und die E-Mail-Adresse festlegen, mit der Ihre Commits ausgestellt werden (siehe Telling Git your name in Git-Benutzerhandbuch). Wenn Sie einen anderen Namen oder eine andere E-Mail-Adresse nur für Commits in diesem Repository verwenden möchten, können Sie git config --local benutzen oder Änderungen in der Datei .git/config im Repository statt in ~/.gitconfig durchführen.

Other important Git configuration will automatically be configured when building the project (siehe Erstellung aus dem Git). A .git/hooks/commit-msg hook will be installed that embeds ‘Change-Id’ Git trailers in your commit messages for traceability purposes. It is important to preserve these when editing your commit messages, particularly if a first version of your proposed changes was already submitted for review. If you have a commit-msg hook of your own you would like to use with Guix, you can place it under the .git/hooks/commit-msg.d/ directory.