Skip to content

A tutorial on how to auto commit and push without having to do it manually using Task Scheduler in a minimized fashion. It is recommended to know how to use those commands manually before proceeding.

License

Notifications You must be signed in to change notification settings

NOTORIEX-LEGACY/GitHub_Auto_Add_Commit_And_Push

Repository files navigation

GitHub_Auto_Add_Commit_And_Push

WARNING! THIS REQUIRES TASK SCHEDULER (WINDOWS) AND ONLY APPLIES TO COMMAND PROMPTS RUNNING ON MINIMIZED AND NOT IN BACKGROUND(INVISIBLE)

  1. Create batch file in git directory using Activate Commands in directory.txt
  2. Make sure to create a .gitignore in the git directory to ignore that batch file
  3. Use task scheduler and fill in program/script using Program OR Script.txt
  4. Use task scheduler and fill in the add arguments using Arguments.txt (If one of your folders have spaces in their name, it is recommended to wrap the directory with quotations (i.e: "C:\hello friend")
  5. Profit

Hide Auto Add Commit And Push w/o Command Prompt Showing

Make sure to select Run whether user is logged on or not and check the check box.

Tips on preventing max CPU or memory

[x] Stop the task if it runs longer than: "1 minute" [x] If the running task does not end when requested, force it to stop

About

A tutorial on how to auto commit and push without having to do it manually using Task Scheduler in a minimized fashion. It is recommended to know how to use those commands manually before proceeding.

Topics

Resources

License

Stars

Watchers

Forks