Skip to content

7PH/git-contribution-mapper

Repository files navigation

Git Contribution Mapper

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.


Setup & Usage

Option 1: Using uv (faster alternative)

# 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

Option 2: Using venv (built-in Python virtual environment)

# 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

About

Show your git contributions elsewhere on GitHub with anonymized history.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •