You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
β **Automatically updates `daily_update.txt`**
β **Commits & Pushes changes to GitHub**
β **Works with Windows Task Scheduler for automation**
β **Runs daily without manual intervention**
π Installation
1οΈβ£ **Install Python:** [Download Python](https://www.python.org/downloads/)
2οΈβ£ **Install Git:** [Download Git](https://git-scm.com/downloads)
3οΈβ£ **Clone the repository:**
```bash
git clone https://github.com/Shuvo-code-dev/Auto-commit-github.git
cd your-repo
Steps to Set Up Windows Task Scheduler for Your Python Script π:
β Step 1: Open Task Scheduler
Search for Task Scheduler in the Start Menu and open it.
Click on "Create Basic Task..."
β Step 2: Name and Description
Task Name: "Daily GitHub Commit"
Description: "Automatically commit updates to GitHub."
Click Next
β Step 3: Set the Trigger (When It Will Run)
Select "Daily" (since you want it to run every day).
Start Time: Set a specific time (e.g., 00:00 AM).
Click Next
β Step 4: Select Action (What It Will Do)
Choose "Start a Program"
Click Next
β Step 5: Add Python Script
Program/Script: Path to Python (e.g., C:\Users\Shuvo\AppData\Local\Programs\Python\Python39\python.exe)
Add Arguments: Path to your script file (e.g., C:\Users\Shuvo\Scripts\auto_commit.py)
Start In (Optional): Path to the folder where the script is located (e.g., C:\Users\Shuvo\Scripts\)
Click Next
β Step 6: Complete the Task Setup
Click Finish β
Now, Task Scheduler will automatically run your script at the set time every day.
About
Automatically commit and push updates to GitHub daily (When you open your computer)