This is a tool that helps to replicate the contribution history from one GitHub user into another. For more information please see this link from GitHub. This is done by creating a new github private repository and recreating the commits distribution from source user's history into the new repository. Contributions breakdown, such as pull requests, issues activity and code review activity will be lost, and will be represented through commits as well.
This project has been inspired by and based on the gitfiti project.
usage: recreate.py [-h] -u USERNAME -s SOURCE -d DATE -t APITOKEN [-r REPO]
Recreate contributions
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
GitHub username to update
-s SOURCE, --source SOURCE
Source GitHub username to copy contributions from
-d DATE, --date DATE Start date for copying contributions (YYYY-MM-DD)
-t APITOKEN, --apitoken APITOKEN
API token for github (create at https://github.com/settings/tokens)
-r REPO, --repo REPO Repository to use (will use "contrib-copy-<source username>" if not providedpython ./recreate.py -u my-username -s my-old-username -d 2020-01-01 -t "<token from GitHub>"This project is released under The MIT license (MIT)
- Support replicating pull requests, issues and code reviews, to preserve the contributions distribution between categories.