Skip to content

Instantly share code, notes, and snippets.

@rauluranga
Created January 30, 2013 18:35
Show Gist options
  • Select an option

  • Save rauluranga/4675526 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
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