github / github/gh-classroom

Cloning student repositories not working

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
125
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I am having problems with "gh classroom clone student-repos". I am using it in WSL2 with Ubuntu-22.04. In the past, I have used this without problem, but something changed.

In one of the courses, it says there are no assignments:
"2025/06/10 17:50:43 No assignments found for this classroom."
However, there are six assignments, all created between in September and December 2024.

In another course, it shows me 15 assignments from several years, but not the most recent one.

In addition, when I select a specific assignment, it tells me this:

"? Select a classroom: my course
? Select an assignment: the assignment name
Creating directory: /home/me/mycourse/-submissions
Cloned 0 repos."

If I use the assignment flag, the result is the same.

Despite this, I am still able to clone each of the student repositories individually (git clone ...), even for the assignment not shown by "gh classroom clone student-repos".

I have uninstalled and re-installed gh, including the extension, but the result doesn't change.

Any idea how to handle this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.