Git Contribution Mapper automates the extraction and merging of contributions from multiple git repositories into a single monorepo, while filtering and anonymizing commits based on author email.
Note: The script barely works at the moment, more features will be added in the future (automation through GitHub Actions, more parametrization on what's anonymized or not). Feel free to suggest ideas as GitHub Discussions
or Issues
.
# 1. Clone this project:
git clone https://github.com/7PH/git-contribution-mapper
cd git-contribution-mapper
# 2. Configure your environment:
./scripts/env-generate.sh
# 3. Run the tool:
uv run python git-contribution-mapper.py
bash scripts/monorepo-push.sh
# 1. Clone this project:
git clone https://github.com/7PH/git-contribution-mapper
cd git-contribution-mapper
# 2. Create a virtual environment (optional):
python -m venv .venv
source .venv/bin/activate
# 3. Install dependencies:
pip install .
# 4. Configure your environment:
./scripts/env-generate.sh
# 5. Run the tool
python git-contribution-mapper.py
bash scripts/monorepo-push.sh