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.
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 config --local format.thread shallow git config --local sendemail.thread no
When sending a patch series (e.g., using
git send-email), please
first send one message to firstname.lastname@example.org, and then send
subsequent patches to NNN@debbugs.gnu.org to make sure they
are kept together. See the
Debbugs documentation for more information. You can install
guix install git:send-email.