Skip to content

Instantly share code, notes, and snippets.

@michidk
Created October 4, 2016 14:45
Show Gist options
  • Save michidk/0173c749a5157c0aa9e0e7a6e14aee76 to your computer and use it in GitHub Desktop.
Save michidk/0173c749a5157c0aa9e0e7a6e14aee76 to your computer and use it in GitHub Desktop.
Clone multiple repos (listed in text file) at once
@echo off
for /F "tokens=*" %%i in (repos.txt) do call :DOSTUFF %%i
pause > nul
:DOSTUFF
echo "Cloning %~1"
git clone https://michidk@bitbucket.org/brokenvector/%~1.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment