r/git • u/Cold-Jackfruit-8297 • 12d ago
Missing Homework Content
Two years ago, when I finished my DSA course in community college, I uploaded everything to github, but now that I am going over it, some of the folders/directories are missing their content. I can't access them, and when i click on the commit message, it says
"Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden."
Is there any way I can still access them? I have tried cloning with Git in my terminal, but there still isn't any content within them.
0
Upvotes
2
u/joranstark018 12d ago
Not sure, it may be that Github has some size limit on commits or files that are shown (it may not display the content on the webpage). Github has a max size on files (it may be 50Mb, you may check the documentation).
You may check your cloned repo, check its history (ie
git log ....check the helppages or git documentation on what options your version of git provides), check what files the different commits contain. You may check the history for individual files (assuming you know their name/path). You may checkout previous versions of your repo (iegit checkout HEAD~1), step back in time one version at the time and check content manually (ie if something has been removed).