Change MY git email
I used this at the terminal to change my git address from one to the other thoughout the working branch
git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "u41180863@git.sciencejoywagon.com" ];
then
GIT_AUTHOR_NAME="swirtMiles";
GIT_AUTHOR_EMAIL="swirtMiles@138230.no-reply.drupal.org";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD
To change my email for a given git repository use:
git config user.email "u41180863@git.sciencejoywagon.com"
# or
git config user.email "swirtMiles@138230.no-reply.drupal.org"
A less invasive method for just a couple of changes
git rebase -i {earlier commit id}
// Change pick to edit in the list of items to rebase
git commit --amend --author="swirtMiles <swirtMiles@138230.no-reply.drupal.org>"
git rebase --continue