Whenever you “update” github repositories, the amount of used space on your local hard disk increases.
If, like me, you update many files, and / or very heavy files, the amount of space used by the hard disk really grows a lot.
I do not care to keep track of the whole history of the repository,
The last version is enough for me. (especially regarding the “Site” https://miorsoft.github.io/Site/index.html)
I need to free space on the local hard disk.
And I suppose you can do this by removing all the history of the repository.
Here, how is it done?
I could try this way, but first I would like to have some more certainty.
-Create a local copy of the Repo.
-Remove all the Github data from this copy (".git" folder)
- Delete the old copy and rename the new one with the name of the Repo.
- Go to the browser and permanently delete the Repo.
- Upload to the Repo disk copy using the same name (of the deleted one)
Can someone give me useful and detailed information / links on how to proceed?