I'm such a clever person.
I decided to clean up the "unknown" commits in my repository by running a command from this blog post:
git filter-branch --commit-filter '
if [ "$GIT_COMMITTER_NAME" = "unknown" ];
then
GIT_COMMITTER_NAME="a2h";
GIT_AUTHOR_NAME="a2h";
GIT_COMMITTER_EMAIL="*snip*";
GIT_AUTHOR_EMAIL="*snip*";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD
At first I thought everything was fine, until I noticed in gitk that every commit prior to running this was duplicated, not simply edited as I originally thought.
As a result by GitHub network graph has also been completely messed up with its indication of what commits happened, and what merges happened and into where.
Is it possible to clean up this mess in any way?
EDIT: OK, gitk is showing both the old commits (the ones with the "unknown" commiters mixed in) and the new commits (the rewritten ones), split up at a certain point around halfway. Think a bunch of commits, then duplicated (and with the edits), and stacked on top of the original ones. What I want to do is if possible, kill off the original ones.