Transfer commits from one user to another user

HI,

I am a master’s student working on a small project with my friend (Owner of the repository). I made some commits to the project from my old account previously. Now I want to add my another email as a collaborator and transfer all commits from the previous account to the new account and delete the old account.

Is this transfer of data from one account to another is possible?

Requesting you please help me.

Thanking you in advance.

Github uses the author mail address in the commits to ascribe commits to user accounts. So in principle after you delete the old account you should only need to add the mail address you used there to the new account. I’m not sure if there’s any limitation on moving mail addresses like that though, maybe one of the Github staff here knows?