{"id":23278661,"url":"https://github.com/nderousseaux/github-reattribute","last_synced_at":"2025-04-06T12:42:42.736Z","repository":{"id":169706770,"uuid":"645729214","full_name":"nderousseaux/github-reattribute","owner":"nderousseaux","description":"Reattribute commit from different emails to one user/email address","archived":false,"fork":false,"pushed_at":"2023-05-30T21:42:05.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T18:35:56.810Z","etag":null,"topics":["script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nderousseaux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-26T09:55:39.000Z","updated_at":"2024-11-26T14:45:18.000Z","dependencies_parsed_at":"2023-07-08T21:15:58.306Z","dependency_job_id":null,"html_url":"https://github.com/nderousseaux/github-reattribute","commit_stats":null,"previous_names":["nderousseaux/github-reattribute"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nderousseaux%2Fgithub-reattribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nderousseaux%2Fgithub-reattribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nderousseaux%2Fgithub-reattribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nderousseaux%2Fgithub-reattribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nderousseaux","download_url":"https://codeload.github.com/nderousseaux/github-reattribute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485285,"owners_count":20946397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["script"],"created_at":"2024-12-19T22:32:50.366Z","updated_at":"2025-04-06T12:42:42.721Z","avatar_url":"https://github.com/nderousseaux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-reattribute\n\u003e \u003cpicture\u003e\n\u003e   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/danger.svg\"\u003e\n\u003e   \u003cimg alt=\"Danger\" src=\"https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/dark-theme/danger.svg\"\u003e\n\u003e \u003c/picture\u003e\u003cbr\u003e\n\u003e\n\u003e This project is in beta, I am not responsible if data is lost during the conversion.\n\nReattribute commit from different emails to one user/email address\n\nIf you have projects on your github that contain commits you made with another email address, this project is for you!\n\nIt 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.\n\n## Before\n\n\u003cimg src=\"img/before.png\" alt=\"before\" style=\"zoom:50%;\" /\u003e\n\n## After\n\n\u003cimg src=\"img/after.png\" alt=\"after\" style=\"zoom:50%;\" /\u003e\n\n## And it's not all!\nYou can also execute any type of command on all repositories, for example : delete all `.DS_Store` files, or delete all `.pyc` files.\nFor 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)\n\n\u003e \u003cpicture\u003e\n\u003e   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/warning.svg\"\u003e\n\u003e   \u003cimg alt=\"Warning\" src=\"https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/dark-theme/warning.svg\"\u003e\n\u003e \u003c/picture\u003e\u003cbr\u003e\n\u003e\n\u003e Don't take credit for someone else's work. Only use this project to standardize your own commits!\n\n\n# How to use it\n1. Clone this project\n2. Give your .env file the right values\n3. Execute the user recuperation script with `python3 list-all-users.py`\n4. Modify the file `email.list` to match with your new email address/name\n5. (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...)\n6. Once your ABSOLUTELY SURE of what you are doing, execute the script `python3 reattribute.py`\n7. Wait for the script to finish...\n8. Wait for the script to finish...\n9. Wait... (it can take a while)\n10. Enjoy your new github, with all your commits under the same email address!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnderousseaux%2Fgithub-reattribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnderousseaux%2Fgithub-reattribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnderousseaux%2Fgithub-reattribute/lists"}