This script automatically creates a GitHub repository, makes a fake commit from 1970, and pushes it.
-
Git must be installed on your system.
- Windows: Download Git
- MacOS: Install via Homebrew:
brew install git
- Linux: Install via package manager:
sudo apt install git -y # Debian/Ubuntu sudo dnf install git -y # Fedora
-
Python 3 must be installed.
- Check by running:
python --version
- Check by running:
-
Get a GitHub Personal Access Token (PAT)
- Go to GitHub Tokens
- Generate a token with repo permissions.
-
Run the script:
python create_repo.py
-
Enter your GitHub credentials when prompted.
-
The script will:
- Create a new repository named
contribution-graph
. - Make a commit with a backdated timestamp from 1970.
- Push everything to GitHub automatically.
- Create a new repository named
This project is licensed under the MIT License - see the LICENSE file for details.