A simple tool to generate git commits to boost GitHub activity
Project description
Installation
Installtion via Pip
pip install gitgen
If above method doesn't work via pip. Then install this via brew:
Installation via Homebrew
To install gitgen using Homebrew, follow the steps below:
Step 1: Tap the Repository
First, you need to tap the repository to make the gitgen formula available via Homebrew:
brew tap mubashardev/gitgen
Step 2: Install GitGen
Once the repository is tapped, you can install gitgen with:
brew install gitgen
Usage Guide for gitgen
Prerequisites
-
Python 3: Ensure Python 3 is installed on your machine. You can verify the installation by running the following command:
python --version -
Git: Ensure Git is installed and configured on your machine. You can verify this by running:
git --version -
GitHub Configuration: Make sure your GitHub account is already linked to Git on your local machine. To check if your Git is configured with your GitHub credentials, run the following commands:
git config --global user.name "Your Name" git config --global user.email "your-email@example.com"
These should return your GitHub username and email. If not configured, run the above commands with your actual name and GitHub email.
Setup Instructions
Step 1: Create an Empty GitHub Repository
- Go to your GitHub profile and create a new repository.
- You can set it to either public or private. However, private is recommended for personal testing.
- Do not initialize the repository with a README,
.gitignore, or license.
Step 2: Create a Local Directory
-
Create an empty directory on your local machine where you want to run
gitgen. You can name the folder anything you like. For example:mkdir my-new-project cd my-new-project
-
Open a command prompt (Windows) or terminal (Mac/Linux) in that directory.
Step 3: Run gitgen
-
With the terminal or command prompt open in your project directory, execute the
gitgencommand:gitgen
-
The CLI will ask you for the following information:
- Total number of days: The number of days over which you want commits to be spread.
- Commit frequency (commits per day): The number of commits you want per day.
- Repository link: Paste the URL of the empty GitHub repository you just created.
-
Example of inputs:
Enter total number of days: 5 Enter commit frequency (commits per day): 3 Enter repo link: https://github.com/yourusername/my-new-repo -
The script will then:
- Initialize the Git repository.
- Automatically create and commit changes.
- Push the commits to your GitHub repository over the number of days and commit frequency you've specified.
Step 4: Watch the Magic Happen
After gitgen completes the task, it will push the commits to your GitHub repository. GitHub might take a few minutes to index and show the contributions on your profile.
You can check the status of your repository by visiting the GitHub repository link you provided earlier. You'll see multiple commits as per the inputs you gave.
Note:
If the changes or commits do not immediately reflect on your GitHub profile, give it a few minutes as GitHub may take some time to index the changes.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitgen-0.1.6.tar.gz.
File metadata
- Download URL: gitgen-0.1.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754fca61866901d0d92f776d6dc5564e531c1df9494cbf299c4331fb94b6f7a8
|
|
| MD5 |
4b7f95a0b4381a68ef33fd0e023d2f1d
|
|
| BLAKE2b-256 |
e1f1269ad7a3a3f8deeb58ec3e3a39ce40c14255316bcd560814120a3872a344
|
File details
Details for the file gitgen-0.1.6-py3-none-any.whl.
File metadata
- Download URL: gitgen-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50eb8c85680077587f6752076844f91bbe284bd11a4a1c3a24bfc35c59c234b
|
|
| MD5 |
9a83abd1ea149af75b313b920bd11682
|
|
| BLAKE2b-256 |
afc60c73729d0932fd15c5458f549b017d2e6c72c8b3701fc36a7e1633bff8a2
|