Created
January 30, 2013 18:35
-
-
Save rauluranga/4675526 to your computer and use it in GitHub Desktop.
Clone multiples git repositories from text file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for LINE in `cat "$1"`; do | |
echo 'start cloning repo:' : $LINE; | |
git clone $LINE | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git://github.com/bobmccune/Core-Animation-Demos.git | |
git://github.com/mattgemmell/MGTileMenu.git | |
git://github.com/Kjuly/KYArcTab.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./cloneReposFromFile.sh repos.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also don't forget to give all necessary permissions to cloneReposFromFile.sh