git-synced
is a tool that generates empty commits that mirror the contribution graph from a secondary GitHub profile, plotting those contributions on your primary account.
-
Clone this repository
git clone https://github.com/apappas1129/git-synced.git
※ Do not fork, as commits pushed to a forked repository will not count as contributions.
-
Browse to your secondary GitHub account's profile page and ensure that your desired date range of contributions graph is correctly set.
For example, set the parameters
from=2024-01-01&to=2024-12-31
.https://github.com/apappas1129?tab=overview&from=2024-01-01&to=2024-12-31
-
Save the entire HTML of the profile page as
index.html
(or your preferred filename) in the same directory asindex.js
. -
Install dependencies, run the script, and follow the prompts.
npm i npm start
- Commits made less than 24 hours ago may not appear immediately.
- Ensure your commits meet GitHub's criteria for contributions.
※ See GitHub Docs - Contributions that are counted
- This script creates empty commits and does not transfer any actual code or content.
- Excessive or inappropriate use of this tool could be seen as gaming the system and may have consequences for your GitHub account.
- Only use this tool to consolidate your own contributions from multiple accounts.
- Do not use this to misrepresent your activity or skills on GitHub. Respect the integrity of the GitHub contribution graph as a reflection of actual work and collaboration.
This repository is created after isturiz/sync-graph. If your secondary GitHub account is accessible publicly, I recommend using this tool instead to skip the need of manually creating the HTML file containing your secondary account's contribution graph.