Fliw / fake_commit

A git fake commit generator to make those github squares green

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fake Commit

A git fake commit generator to make those Github squares green.

This simple script generates a linux shell script which in turn creates random number of empty git commits in desired number of days from now.

Usage:

Create an empty repository.

Install the python dependecies.

pip install -r requirements.txt

pip3 install -r requirements.txt #if you're using pip3

Run the script.

python fake_commit.py
./commits.sh

The script needs three parameters to run correctly: github user name, repository name, number of days to go back,Number of Month to Go Back(Give 0 if you don't want to), Minimum and maximum range of commit within days

  • Make sure the repository name is the same as the empty repository you created before running the script.
  • A random number is generated in the script which is hard coded and needs to be the maximum number of commits you have, so if your maximum commits is 50, you should change the random number interval from 1,20 to 30,50. This is because the square color darkness indicates the maximum number of commits you've made.
  • It may take up to a few minutes to generate and do the commits.

About

A git fake commit generator to make those github squares green


Languages

Language:Shell 97.7%Language:Python 2.3%