https://github.com/muhammed770/retro_commit
Retro Commit:Made using Rust, it helps to fill your github commit chart with green dots.
https://github.com/muhammed770/retro_commit
command-line-tool commits git macos-application rust
Last synced: about 1 month ago
JSON representation
Retro Commit:Made using Rust, it helps to fill your github commit chart with green dots.
- Host: GitHub
- URL: https://github.com/muhammed770/retro_commit
- Owner: Muhammed770
- Created: 2024-06-21T06:34:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T00:41:58.000Z (almost 2 years ago)
- Last Synced: 2025-01-23T06:30:15.084Z (over 1 year ago)
- Topics: command-line-tool, commits, git, macos-application, rust
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Random Git Commit Generator
This Rust program automates the creation of random Git commits over a specified number of days.
## Features
- Initializes a new Git repository if not already initialized.
- Prompts for GitHub username, email, number of commits, and number of days.
- Generates random commit dates within the specified range.
- Creates commits with the generated dates.
- Configures remote Git repository if not already set.
## Prerequisites
- Rust and Cargo installed
- Git installed
## Usage
1. Clone the repository:
```sh
git clone https://github.com/Muhammed770/retro_commit.git
cd retro_commit
```
2. Build and run the program:
```sh
cargo build
cargo run
```
Follow the prompts to enter your GitHub username, email, number of commits, and number of days.
Example
```sh
user.name: default_username
user.email: default_mail@example.com
Do you want to change DEFAULT user.name and user.email? (Y/N)
Y
Enter username: muhammed770
Please enter email id linked to your GitHub: muhammed770@example.com
Please enter number of commits: 10
Please enter number of days: 30
```
The program will generate 10 random commits over the past 30 days.
## License
This project is licensed under the MIT License.