Skip to content

Commit 79f7396

Browse files
Update using-github-classroom-with-github-cli.md
Added missing --page flag for cloning student's repos. Added an example with --page and --per-page
1 parent 4925876 commit 79f7396

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/using-github-classroom-with-github-cli.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,8 @@ gh classroom clone student-repos
104104

105105
Clones student repositories from a given assignment. By default, the student repositories are cloned into the current directory a directory named after the assignment slug. To clone into a different directory, use the `--directory` flag. If the directory does not exists, it will be created.
106106

107-
By default, all student repositories are cloned. To get a different number of repositories, use the `--per-page NUMBER` flag.
107+
By default, all student repositories are cloned. To get a different number of repositories, use the `--page NUMBER` and `--per-page NUMBER` flags.
108+
109+
```shell
110+
gh classroom clone student-repos --page 1 --per-page 20
111+
```

0 commit comments

Comments
 (0)