tls-client icon indicating copy to clipboard operation
tls-client copied to clipboard

The repository size is too large

Open nacho00112 opened this issue 1 year ago • 3 comments

You should consider reducing the repository size by some way, this isn't normal

nacho00112 avatar May 05 '23 15:05 nacho00112

GitHub recommend to maintain every project behind 1GB, your repository is being too close to this, the repositories normally not even reach the 100MB

nacho00112 avatar May 05 '23 15:05 nacho00112

@nacho00112 yes the problem is that back then i had the compiled binaries inside the repository because most of the users were not able to compile them alone.

i removed that and placed the binaries in the release section of github but they are still in the history... i would have to revisit every commit and manually remove the files from the history which would result in a ton of new commits and a possible force push ...

See this SO answer for more information: https://stackoverflow.com/a/52643437

i'm not sure if i really should do it because this repo already has 53 forks ...

maybe someone has a better idea/solution?

bogdanfinn avatar May 11 '23 06:05 bogdanfinn

git-extras has an easy to use git obliterate sub-command that makes removal of junk trivial. It automatically rewrites the entire repo history for you.

Unfortunately a force push is required and it will mess up all active forks, there's no way around that as far as I know.

sleeyax avatar May 01 '24 22:05 sleeyax