Skip to content

This repository automates the process of pulling the latest changes from a branch every day when you start your computer or laptop.

Notifications You must be signed in to change notification settings

Anubhavagnihotrii/AutoPull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Create a directory named AutomatingPull inside that :-

    • Create a file with name pull_changes.bat.

    • copy and paste the contents of pull_changes.bat to that file.

      • Now in pull_changes.bat here you have to replace the path to your logfile.txt and in 2nd line you have to provide the path to you Github Repo where you want the changes to be pulled.

    • create a logfile.txt

  • Run the pull_chnages.bat file to check whether it is working correctly or not.

  • After this .....

    • Method 1

    This will only work 1 time when you Turn-On/Power-On the system, else you can use method 2(windows task scheduler)
    - Press  Windows + R to open the Run dialog box.
    - Type shell:startup and press Enter to open the Startup folder.
    - Copy the pull_changes.bat file and paste it into the Startup folder.
    
    • Method 2

        * Press Windows button and search for Task Scheduler
        
      or
      * You can open Run by pressing Windows + R and type taskschd.msc to open the Task Scheduler * Now click on create task and for settings refer to the images given below or you can use some settings based upon other available options:
      Example Image Example Image Example Image Example Image Example Image

About

This repository automates the process of pulling the latest changes from a branch every day when you start your computer or laptop.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published