Automating GitHub Commits with Task Scheduler on Windows

preview_player
Показать описание
⚡ 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.

-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
Set objShell = CreateObject("WScript.Shell")
-------------------------------------------------------------------------------------

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

Thank you for watching!

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

▶ OS: Windows 10
▶ Command prompt:
▶ IDE: Neovim using CoC (Conquer of Completion)
▶ Video editing: Davinci Resolve
▶ Recording Software: OBS
▶ Live wallpaper:

-------------------------------------------------------------------------------------
⌛ 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
Рекомендации по теме
welcome to shbcf.ru