https://github.com/farrelad/lazy-git
Automate your git because you're too lazy to do it yourself
https://github.com/farrelad/lazy-git
experiment fun git github lazy
Last synced: about 2 months ago
JSON representation
Automate your git because you're too lazy to do it yourself
- Host: GitHub
- URL: https://github.com/farrelad/lazy-git
- Owner: FarrelAD
- Created: 2025-08-10T01:53:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-12-11T09:30:11.000Z (7 months ago)
- Last Synced: 2025-12-11T18:31:11.375Z (7 months ago)
- Topics: experiment, fun, git, github, lazy
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This script demonstrates how to automate Git commits using a Python script.
You can use **Windows Task Scheduler** or **Linux/macOS cron** to run it at the OS level.
> Note: The automation will only work if your computer is turned on at the scheduled time.
# Windows
Use Task Scheduler to create a new task:


- Set the trigger to run daily at your preferred time.
- Set the action to run `python` (or `python3`) with the full path to this script.
- (Optional) Enable **"Wake the computer to run this task"** if you use sleep mode.
- (Optional) Enable **"Run task as soon as possible after a scheduled start is missed"** so it runs after boot if the PC was off.
# Linux/macOS
Example cron job to run the script every day at 9 AM:
```sh
0 9 * * * /usr/bin/python3 /path/to/your/main.py
```