git-commits-migrator
v0.0.3
Published
Revitalize Github activity with empty commits in new repo, using private contributions
Downloads
6
Maintainers
Readme
Git Commits Migrator
With this library, you can effortlessly copy all of your contributions to a new repository, without actually copying any code. How? By creating empty commits with the exact date and time of the original commits, and including your public account information (username and email). Imagine the thrill of seeing your Github activity tracker light up with all of your hard work, now visible for the world to see! Don't let your private contributions go to waste, make them count!
Table of Contents
Prerequisites
1- Make sure to have the other account repos cloned locally
Usage
- Don't forget to star this repo 😉
With npx
npx git-commits-migrator --source-repo private-repo --target-repo new-private-repo --source-owner USER_NAME --target-owner USER_NAME --source-email EMAIL --target-email EMAIL --target-token TOKEN
With npm
1- Install the library
- npm
npm install -g git-commits-migrator
or
- yarn
yarn global add git-commits-migrator
2- Execute command
git-commits-migrator -sr private-repo -tr new-private-repo -so USER_NAME -to USER_NAME -se EMAIL -te EMAIL -tt TOKEN
Available Options
source-repo
: string - Name of source repository- alias:
sr
- required
- alias:
target-repo
: string - Name of target repository- alias:
tr
- required
- alias:
source-owner
: string - Username of source repository- alias:
so
- required
- alias:
target-owner
: string - Username of target repository- alias:
to
- required
- alias:
source-email
: string - Email of source repository owner- alias:
se
- required
- alias:
target-email
: string - Email of target repository owner- alias:
te
- required
- alias:
target-token
: string - Personal Access Token from target account- alias:
tt
- required
- alias: