Skip to content

Python-Loyals/fake-git-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake commit history

A command-line tool to generate your git activity ¯\(ツ)/¯.

Does your profile look like you have stopped coding at all? No worries, this script will help you!

How it works

Installation

Make sure you have Git and Node.js installed on your machine. Then install this tool:

npm i -g 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 yyyy/MM/dd format. For example 2019/01/01
fake-git-history --startDate yyyy/MM/dd --endDate yyyy/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 yyyy/MM/dd -e yyyy/MM/dd

Generate commit history for weekdays only.

fake-git-history --workdaysOnly -s yyyy/MM/dd -e yyyy/MM/dd

CLI

  • --startDate or -s Start date in yyyy/MM/dd format.
  • --endDate, -e End date in YYYY/MM/DD format.
  • --workdaysOnly, -w Skip weekends.
  • --commitsPerDay, -c The number of commits to generate for every single day.

P.S.

It is something I wrote as a joke, so don't take it seriously. I don't encourage people to cheat. But if anybody is judging your professional skills by the graph at your GitHub profile, they deserve to see a rich graph.

Enjoy using this tool? I would appreciate it if you buy me a coffee.

Buy Me A Coffee

Packages

No packages published

Languages

  • JavaScript 100.0%