Skip to content

Instantly share code, notes, and snippets.

@litodam
Created July 16, 2012 21:26
Show Gist options
  • Save litodam/3125168 to your computer and use it in GitHub Desktop.
Save litodam/3125168 to your computer and use it in GitHub Desktop.
run git commands for all the repos
@echo off
REM Replace 'git pull –all' with your desired command and run this in the folder where you have all the TK repositories located.
for /f "delims=" %%d in ('dir /ad/b') do if exist %%d\.git (
cd %%d
git pull --all
cd..
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment