Automating GitHub Commits with Task Scheduler on Windows

Опубликовано: 01 Август 2026
на канале: Care package incoming
258
6

⚡ In this step-by-step tutorial, learn how to automate your GitHub commits using Task Scheduler on Windows. If you find yourself constantly forgetting to commit your code changes or seeking a more efficient way to ensure regular commits, this video is for you.

-------------------------------------------------------------------------------------
✎ autocommit.bat file
-------------------------------------------------------------------------------------
d: (optional, if your project is located in the D:)
cd Path\To\Project
git add .
git commit -m "Auto commit: %date:~-4%%date:~3,2%%date:~0,2%.%time:~0,2%%time:~3,2%%time:~6,2%"
git push
exit
-------------------------------------------------------------------------------------
✎ script.vbs file
-------------------------------------------------------------------------------------
Set objShell = CreateObject("WScript.Shell")
objShell.Run "Path\To\autocommit.bat", 0, True
-------------------------------------------------------------------------------------

If you encounter any problem, do not hesitate to ask ChatGPT ;) ... Or me...

Thank you for watching!

-------------------------------------------------------------------------------------
⚒ Config
-------------------------------------------------------------------------------------

▶ OS: Windows 10
▶ Command prompt:
→ Powershell: https://www.microsoft.com/store/productId/...
→ Terminal: https://www.microsoft.com/store/productId/...
▶ IDE: Neovim using CoC (Conquer of Completion)
▶ Video editing: Davinci Resolve
▶ Recording Software: OBS
▶ Live wallpaper:
→ Lively wallpaper: https://www.microsoft.com/store/productId/...

-------------------------------------------------------------------------------------
⌛ Timestamps
-------------------------------------------------------------------------------------
0:00 : Intro
0:05 : Cloning the Github project
0:49 : Test - Git add, commit, push
1:33 : Creating the batch file
2:28 : Testing out the batch file
2:54 : Creating the vbs file
3:26 : Adding the task to the Task Scheduler
4:10 : Testing out the auto commit task
5:34 : Thanks for watching!

#PowerShell #ASMR #RainSounds