Github invalid author email commits, no contribution activity

Recently, I did some commits without config user.email. Is there any way to edit those commits to be recognized as contribution on my GitHub profile. (there're no commit email - to add to as GitHub account - as you can see in the log bellow)

Just be aware that both will overwrite authorship information from c6b3af19 to the last commit you did, they are incomplete in the case you have other authors who committed more recently.

Note that in every case, you will then have to do a forced push to your remote repository, with git push -f

In any case, I suggest you to create a new branch before attempting to do this kind of changes. You can also use the reflog to recover if something bad happens, or just git checkout 4ae6cc5c, which was your latest commit to date. But as a rule of thumb, I think it is better to branch before doing any history rewrite.