Skip to content

Instantly share code, notes, and snippets.

@CarlosX
Last active August 29, 2015 14:05
Show Gist options
  • Save CarlosX/d0d761c9081828cd2df1 to your computer and use it in GitHub Desktop.
Save CarlosX/d0d761c9081828cd2df1 to your computer and use it in GitHub Desktop.
Auto Pull git basic test
@echo off
title AutoPull Git - 1 minute
echo loop start!
C:
cd \xampp\htdocs\
set /a x = 0
:loop
start "" "%SYSTEMDRIVE%\Program Files (x86)\Git\bin\sh.exe" --login -i -c "git pull origin"
timeout /t 60
goto loop
:exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment