Skip to content

Instantly share code, notes, and snippets.

@roppa
Created December 12, 2018 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roppa/101cbdcb03efa7fb75459fe97d84c79f to your computer and use it in GitHub Desktop.
Save roppa/101cbdcb03efa7fb75459fe97d84c79f to your computer and use it in GitHub Desktop.
Bash Pull Repos
#!/bin/bash
# To run ./repo.sh username
repos=( repo1 repo2 repo3 )
for i in "${repos[@]}"
do
git clone git@github.com:$1/$i.git
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment