Except for extreme cases, if you part ways with SteelHouse, that laptop is yours. And we aren't offloading some hand-me-down, early model Dell; These are fresh-from-the-Apple-Store MacBook Pros.
Because of this, sometimes my personal work gets mixed in with my professional work. Sometimes I'm 50 commits deep in GitHub before I realize I've been committing with my work email address for
git global user.email.
The following git command can pull you out of this jam, instead of fixing each commit in
git filter-branch --env-filter ' oldemail="firstname.lastname@example.org" newemail="email@example.com" [ "$GIT_AUTHOR_EMAIL"="$oldemail" ] && GIT_AUTHOR_EMAIL="$newemail" [ "$GIT_COMMITTER_EMAIL"="$oldemail" ] && GIT_COMMITTER_EMAIL="$newemail" ' HEAD