Created
December 12, 2018 16:22
-
-
Save roppa/101cbdcb03efa7fb75459fe97d84c79f to your computer and use it in GitHub Desktop.
Bash Pull Repos
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 | |
# To run ./repo.sh username | |
repos=( repo1 repo2 repo3 ) | |
for i in "${repos[@]}" | |
do | |
git clone [email protected]:$1/$i.git | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment