Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spenceryonce/gitgreen
Looking to jazz up your GitHub contribution history? This nifty tool creates random Git commits for the past 12 months, giving your profile that extra oomph and a touch of whimsy.
https://github.com/spenceryonce/gitgreen
Last synced: 4 days ago
JSON representation
Looking to jazz up your GitHub contribution history? This nifty tool creates random Git commits for the past 12 months, giving your profile that extra oomph and a touch of whimsy.
- Host: GitHub
- URL: https://github.com/spenceryonce/gitgreen
- Owner: spenceryonce
- License: other
- Created: 2023-04-20T23:51:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-21T00:45:58.000Z (over 1 year ago)
- Last Synced: 2024-12-09T13:57:40.863Z (28 days ago)
- Language: C
- Homepage:
- Size: 257 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Windows Git Commit Generator
This program generates Git commits for random days in the current year, up to and including the current day. The purpose of this program is to create a unique contribution history in your GitHub profile.
## Prerequisites
- Git command line tool installed and configured on your system.
- A Git repository to run the program in.## Features
- Generates a random number of Git commits for each day of the year up to the current day.
- Adds a line to a `green.txt` file for each commit with a unique identifier.
- Commits are dated with the `--date` option to create a custom commit history.## Building and Running
### Using Microsoft Visual Studio Compiler
1. Open the Visual Studio Developer Command Prompt.
2. Navigate to the directory containing the `main.c` file.
3. Compile the program using the following command:
`cl main.c`
4. Run the compiled program `main.exe` in a Git repository:
`main.exe`### Using GCC (MinGW)
1. Open a terminal or command prompt.
2. Navigate to the directory containing the `main.c` file.
3. Compile the program using the following command:
`gcc main.c -o main.exe -lkernel32`
4. Run the compiled program `main.exe` in a Git repository:
`main.exe`### Custom Date
- You can use the `--backtrack` or `--b` flag when running `main.exe` to generate commits starting from the current day and going back the specified number of days.
E.g. `main.exe --backtrack 2` generates commits starting from the current day and going back 2 days. The default value is 365 days.## Notes
- The program has been tested on Windows x64 systems. Compatibility with other operating systems is not guaranteed.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.