github / github/gh-classroom

Assignment "Copy the default branch only" setting not working

Open
#108 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've created 3 assignments over the past week, each from a repository that has two branches. Even though I've checked the "Copy the default branch only" setting, the resultant starter code repository has contained both of the original branches. In one case, "main" was not preserved as the default branch. This seems like a pretty big problem if, for example, one of the branches is a solution branch.

I've tried going to the starter code repository and deleting the extra branches, before distributing the assignment, and that seems to be a workaround for now. Needless to say, it would be nice not to need that extra step 🙂

Edit: I got here by googling "github classroom issues" but I now wonder if that was a mistake: where is the correct place to go to report issues with the github classroom website, not necessarily the cli tool?

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.