Difference between revisions of "Gh repo clone"
Jump to navigation
Jump to search
↑ https://cli.github.com/manual/gh_repo_clone
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | gh repo clone your-org/your-repo <ref>https://cli.github.com/manual/gh_repo_clone</ref> | + | [[gh repo]] clone your-org/your-repo <ref>https://cli.github.com/manual/gh_repo_clone</ref> |
for REPO in $([[gh repo list]] --visibility=private --limit 1000 YOUR-ORGANIZATION | [[cut -f]]1); do [[gh repo]] clone $REPO; done | for REPO in $([[gh repo list]] --visibility=private --limit 1000 YOUR-ORGANIZATION | [[cut -f]]1); do [[gh repo]] clone $REPO; done |
Revision as of 10:17, 19 January 2024
gh repo clone your-org/your-repo [1]
for REPO in $(gh repo list --visibility=private --limit 1000 YOUR-ORGANIZATION | cut -f1); do gh repo clone $REPO; done
Related
See also
gh repo [ create | list | clone | sync | ]
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
Advertising: