Next: , Up: Отправка исправлений   [Contents][Index]


22.6.1 Конфигурирование Git

Если вы ещё этого не сделали, вы можете установить имя и адрес электронной почты, которые будут ассоциированы с вашими коммитами (see Telling Git your name in Git User Manual). Если вы хотите использовать другое имя или почту только для коммитов в этом репозитории, вы можете использовать git config --local или отредактировать .git/config в репозитории вместо ~/.gitconfig.

We provide some default settings in etc/git/gitconfig which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to .git/config in your checkout, or by telling Git to include the whole file:

git config --local include.path ../etc/git/gitconfig

From then on, any changes to etc/git/gitconfig would automatically take effect.

Since the first patch in a series must be sent separately (see Отправка пакета исправлений), it can also be helpful to tell git format-patch to handle the e-mail threading instead of git send-email:

git config --local format.thread shallow
git config --local sendemail.thread no