Skip to content

Instantly share code, notes, and snippets.

View Grraahaam's full-sized avatar
©️
Eternally resolving conflicts

Grraahaam

©️
Eternally resolving conflicts
  • Lost in a cluster
View GitHub Profile
#!/usr/bin/env bash
# This script clones all repos in a GitHub org
# It requires the GH CLI: https://cli.github.com
# It can be re-run to collect new repos and pull the latest changes
set -euo pipefail
USAGE="Usage: gh-clone-org <user|org>"