News for hackers. Stuff that matters.
Re:Git Blame-Someone-Else by klodolph on Friday September 20, 2019 @08:42AM (#21026020)
The standard way to do that is with 'git filter-branch'. If your daughter’s email is [email protected],

    git filter-branch --env-filter '
    [email protected]
    new_email=redacted
    if [ "$GIT_COMMITTER_EMAIL" = "$old_email" ] ; then
        export GIT_COMMITTER_EMAIL="$new_email"
    fi
    if [ "$GIT_AUTHOR_EMAIL" = "$old_email" ] ; then
        export GIT_AUTHOR_EMAIL="$new_email"
    fi
    ' -- --all
This is “safe” in the sense that you can go back to the old version with the reflog if you screw things up.
Re:Git Blame-Someone-Else by saidajigumi on Friday September 20, 2019 @12:53PM (#21028789)
Seconded. The git blame-someone-else tool is just using git rebase and git commit --amend internally to alter one specified commit.

git filter-branch is perfect for this kind of wholesale revision. filter-branch is essential for tasks like: open-sourcing repos that need some kind of cleanup, massaging repos generated by a VCS migration tool, etc. For example, years ago I participated in the move of a large CVS repo to git; there was significant filter-branch post-processing required to create an acceptable baseline)