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

Do we really care about our git history? #19

Open
aa-dit-yuh opened this issue Oct 16, 2017 · 2 comments
Open

Do we really care about our git history? #19

aa-dit-yuh opened this issue Oct 16, 2017 · 2 comments
Labels

Comments

@aa-dit-yuh
Copy link
Member

We currently have over 2 years of git history, which has bloated the size of the repo to >800MB. Should we consider squashing all commits every yearly archival?

@pranitbauva1997
Copy link
Contributor

You can use git clone --depth=1 <url> while cloning if it is too problematic to download full 800MB.

Otherwise, the size of the repo is this big because of the big image files. You can run git-filter-branch and clean up the previous images. That one will reduce the size of the repo drastically.

@pranitbauva1997
Copy link
Contributor

This article on Removing sensitive data from a repository might be an interesting read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants