You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is in beta, I am not responsible if data is lost during the conversion.
Reattribute commit from different emails to one user/email address
If you have projects on your github that contain commits you made with another email address, this project is for you!
It allows you to standardize your work to rewrite all the old commits of your old work so that they are saved with your new email address.
Before
After
And it's not all!
You can also execute any type of command on all repositories, for example : delete all .DS_Store files, or delete all .pyc files.
For this, you just have to modify the file actions-git.sh to add your own command. This command will be executed on each repository. (It can be very long if you have a lot of repositories)
Don't take credit for someone else's work. Only use this project to standardize your own commits!
How to use it
Clone this project
Give your .env file the right values
Execute the user recuperation script with python3 list-all-users.py
Modify the file email.list to match with your new email address/name
(Optionnal) You can modify the file actions-git.sh to change the git command that will be executed on each repository (delete all .DS_Store files, delete all .pyc files, etc...)
Once your ABSOLUTELY SURE of what you are doing, execute the script python3 reattribute.py
Wait for the script to finish...
Wait for the script to finish...
Wait... (it can take a while)
Enjoy your new github, with all your commits under the same email address!
About
Reattribute commit from different emails to one user/email address