I accidentally uploaded some unnecessary files to my git repo. Somehow I deleted all the unnecessary files from the local repo and pushed all the changes forcefully to GitHub, and it worked and all files are completely gone.
However I am facing a strange issue, when I download the git repo through GitHub page using download button the:
size of my repo is 500kbs
When I clone the repo through git clone, terminal output shows:
it dowloaded around 130MB
However, at the end, after download completes (this size seems ok after unzipping the 500kb file):
git repo size is around 1.3MB.
When I check the property of the directory though UI:
it shows 1.3MB
When I try to check the property through command prompt(du -sh /Dir):
it shows size 130MB
I try to explore a bit more then I found that .git/object has the missing big chunk around 130MB.
I am trying to understand what the problem is, and how I can resolve the issue.
Thank you.