A utility to fake commit history ¯\(ツ)/¯.
Does your profile look like you have stopped coding at all? No worries, this CLI is gonna help you!
yarn global add fake-git-history
mkdir my-fake-history
cd my-fake-history
git init
# Generate commit history for a specific date range.
# The date must be in `YY/MM/DD` format. Example `2019/01/01`
fake-git-history --startDate <YY/MM/DD> --endDate <YY/MM/DD>
Then create a private repository on GitHub, add follow the instructions to push the history to the remote repository.
git remote add origin git@github.com:<USERNAME>/my-fake-history.git
git push -u origin master
Done! Go take a look at your contributions graph.
Specify how many commits should be created for every single day.
Default is 0,3
which means it will randomly create from 0 to 3 commit messages for a day.
fake-git-history --commitsPerDay "1,5" -s <YY/MM/DD> -e <YY/MM/DD>
Generate commit history for weekdays only.
fake-git-history --workdaysOnly -s <YY/MM/DD> -e <YY/MM/DD>
--startDate
or-s
Start date in YY/MM/DD format.--endDate
,-e
End date in YY/MM/DD format.--workdaysOnly
,-w
Skip weekends.--commitsPerDay
,-c
The number of commits to generate for every single day.