Last active
December 28, 2022 11:33
-
-
Save aslamanver/a04a7b0eb347e21e7377fe19a6e3d0ba to your computer and use it in GitHub Desktop.
Use GitHub CLI
This file contains 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
gh repo list payable --limit 1000 | while read -r repo _; do | |
echo "git clone --mirror [email protected]:$repo.git" | |
git clone --mirror [email protected]:$repo.git | |
# cd $repo.git | |
# git remote set-url origin [email protected]:orgname/$REPO.git | |
# git push --mirror | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment