I am finishing week 7 of CS50x 2022 but there is a problem. I have done both problem sets of week 7, Movies and Fiftyville, and submitted them successfully. But the problem is with creating their files as commits into my GitHub. For problem sets of previous weeks, their files would be created as commits automatically into my GitHub without any problem. I am using Visual Studio Code locally on my laptop.

When I click "Sync Changes" in Source Control tab to push those commits, an error says "Can't push refs to remote".

After that in OUTPUT tab, I see following errors:
"remote: error: File movies/output.txt is 109.76 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com."

But there is no such file named output.txt.

I have tried to delete files permanently and add them again, but didn't help.

Any idea how to solve this problem or cancel this commits to do them again?

1 Answer 1


OK I just found out that there is a button in "CS50 MENU" named "Cleanup Repository" and I clicked on it and it solved my problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .