Skip to content

Instantly share code, notes, and snippets.

@rauluranga
Created January 30, 2013 18:35
Show Gist options
  • Save rauluranga/4675526 to your computer and use it in GitHub Desktop.
Save rauluranga/4675526 to your computer and use it in GitHub Desktop.
Clone multiples git repositories from text file.
#!/bin/bash
for LINE in `cat "$1"`; do
echo 'start cloning repo:' : $LINE;
git clone $LINE
done
git://github.com/bobmccune/Core-Animation-Demos.git
git://github.com/mattgemmell/MGTileMenu.git
git://github.com/Kjuly/KYArcTab.git
$ ./cloneReposFromFile.sh repos.txt
@rauluranga
Copy link
Author

also don't forget to give all necessary permissions to cloneReposFromFile.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment