How to import github private email projects

Hi, I’m trying to import GitHub projects to GitLab, but I have private emails on all commits, so when I import the project, obviously the commits are not linked to my account. So I need to change the email of all commits manually? Or exist some option to link the GitHub no reply email to my GitLab account? (I can link it on the email menu because I can’t verify it)

(Commands that I use to change the commits:)

git config user.email id-user@users.noreply.gitlab.com
git config user.name user

git -c rebase.instructionFormat="%s%nexec GIT_COMMITTER_DATE="""%cD""" GIT_AUTHOR_DATE="""%aD""" git commit --amend --no-edit --reset-author -S --allow-empty" rebase -f --root --committer-date-is-author-date

git push --force