Difference between revisions of "Gh repo clone"
Jump to navigation
Jump to search
↑ https://cli.github.com/manual/gh_repo_clone
(2 intermediate revisions by the same user not shown) | |||
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 | ||
+ | |||
+ | |||
+ | [[gh repo]] clone | ||
+ | cannot clone: repository argument required | ||
+ | |||
+ | Usage: gh repo clone <repository> [<directory>] [-- <gitflags>...] | ||
+ | |||
+ | Flags: | ||
+ | -u, --upstream-remote-name string Upstream remote name when cloning a fork (default "upstream") | ||
== Related == | == Related == |
Latest revision as of 17:22, 18 February 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
gh repo clone cannot clone: repository argument required Usage: gh repo clone <repository> [<directory>] [-- <gitflags>...] Flags: -u, --upstream-remote-name string Upstream remote name when cloning a fork (default "upstream")
Related[edit]
See also[edit]
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: