There has been a recent change to Classrooms, that when students accept an assignment from a template repository, it keeps all the commit history from the original source repository, instead of squashing them to an ‘initial commit’, like what happens when you use the Template Repository feature in GitHub
Is this change intentional and permanent?
Why is the behaviour different from the GitHub template repositories feature? It makes for really confusing UX
What do you miss out on when you use template repositories?
Template repositories do not copy the complete commit history, but instead start with a single commit.
Please clear this confusion up Github Classrooms team
I just ran into the same problem. Super frustrating, because I don’t want my students seeing my old commits – and I had grown accustomed to this being the case. I’ve got a take-home exam rolling out in a few hours… I’m going to have to squash and rebase. Yikes, nearly missed this.
I truly appreciate all the hard work that the GitHub team has been doing on GitHub Classroom. But it has been really challenging to use this fall.
This was a bug that was introduced into Classroom. We just recently released a fix and any new assignments created should not experience this issue anymore.