I'm generating some patches for an opensource project and my From: line is always firstname.lastname@example.org. I've been manually editing the From: line to be email@example.com before running git send-email.
From fab0cf45f10686688a8138f60a09505200cbb2a4 Mon Sep 17 00:00:00 2001
From: John Doe <firstname.lastname@example.org>
Date: Mon, 25 Feb 2013 23:06:23 -0500
Subject: [PATCH] nand: adjust erase/read/write partition/chip size for bad blocks
Setting your git identity should be enough:
git config --global user.email email@example.com git config --global user.name "John Doe"
You can also set your identity per git repository: run these commands inside that git repostory and simply omit
You probably should not use
firstname.lastname@example.org because if someone
git am it, this commit will have not your identity.
Probably the only reason to do that is to avoid spam to your primary address - but I think you will get it anyway as soon as it becomes public.