Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #54: Reduced repo size #779

Closed
wants to merge 1 commit into from

Conversation

ItsIgnacioPortal
Copy link
Contributor

Regarding #54:
I added an explanation to the README to explain why someone would want to use the "small" command.
I also ran git reflog expire --expire=now --all and git gc --prune=now --aggressive. It only took a couple of minutes, and it reduced the size of .git from 862268KB to 818808KB. A 43.46MB difference.

This fixes #54

It wasn't clear why exactly someone would want to clone the repo using that option instead of regular old cloning
@ItsIgnacioPortal ItsIgnacioPortal changed the title Reduced repo size Fixes #54: Reduced repo size Jun 24, 2022
@g0tmi1k
Copy link
Collaborator

g0tmi1k commented Aug 2, 2022

I believe this commit only updates the README, it doesn't reduce the size of the repo.

it may have done it locally, but the push to the remote side hasn't changed.

@g0tmi1k g0tmi1k self-assigned this Aug 2, 2022
@g0tmi1k g0tmi1k added proposal Status: Proposal help wanted and removed help wanted labels Aug 2, 2022
@its0x08
Copy link
Contributor

its0x08 commented Aug 2, 2022

Maybe he meant that long time users can prune it to make it smaller.

@ItsIgnacioPortal
Copy link
Contributor Author

I believe this commit only updates the README, it doesn't reduce the size of the repo.
it may have done it locally, but the push to the remote side hasn't changed.

So it would seem...

I did read some dubius claims that this didn't do anything to remote. They said that for this to have an effect, the command would have to be ran directly on the original host (in this case, the github servers). Oh well. I still think it's worth adding that little comment to the README though

@g0tmi1k
Copy link
Collaborator

g0tmi1k commented Nov 22, 2022

The issue is, the README then gets dated with more work/commits added - and its another thing to remember to keep up-to-date.
The amount of work it causes vs the pay off (the value of adding the size of repo).


In short: How many people need to know the size of the repo?

@ItsIgnacioPortal
Copy link
Contributor Author

The issue is, the README then gets dated with more work/commits added - and its another thing to remember to keep up-to-date. The amount of work it causes vs the pay off (the value of adding the size of repo).

In short: How many people need to know the size of the repo?

That number doesn't need to be updated. It's just to give users a vague idea of how much baggage they'll download if they choose to do the full git clone.

@g0tmi1k
Copy link
Collaborator

g0tmi1k commented May 16, 2023

I see it as another thing to maintain and update.
Could this be automated?

@g0tmi1k
Copy link
Collaborator

g0tmi1k commented Nov 23, 2023

Closing due to lack of response

@g0tmi1k g0tmi1k closed this Nov 23, 2023
@g0tmi1k g0tmi1k added the abandoned Status: Abandoned label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned Status: Abandoned proposal Status: Proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git repository might need some cleanup
3 participants