Skip to content

Instantly share code, notes, and snippets.

View jonathanbeber's full-sized avatar

Jonathan Juares Beber jonathanbeber

View GitHub Profile
function gclone() {
local organization
local repositories
organization="$1"
repositories="$(gh repo list -L 1000 "$organization" | fzf --multi --cycle | awk '{print $1}')"
for repository in $repositories; do
echo "Cloning $repository"
gh repo clone "$repository"
done
}