Next: , Up: Envío de parches   [Contents][Index]


22.10.1 Configuring Git

If you have not done so already, you may wish to set a name and email that will be associated with your commits (see Telling Git your name in Git User Manual). If you wish to use a different name or email just for commits in this repository, you can use git config --local, or edit .git/config in the repository instead of ~/.gitconfig.

Other important Git configuration will automatically be configured when building the project (see Construcción desde 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.