Skip to content

amitchandrakar/fake-git-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake commit history

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!

How it works

Installation

yarn global add fake-git-history

Usage

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.

More examples

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>

CLI

  • --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.

About

Generate a beautiful GitHub activity graph.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%