Skip to content

Instantly share code, notes, and snippets.

@roppa roppa/repo.sh
Created Dec 12, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.