Skip to content

Reduce .git diskspace by using git lfs #59

Description

@JohanSchott

The folder that keeps all history, .git, is currently about 278 MB.
The current master is about 60 MB, and the biggest file, impurityModel/test/referenceOutput/Ni_NiO_50bath/spectra.h5, is about 57 MB.
This file is currently not tracked with git lfs.

It would be nice to reduce the diskspace usage, perhaps by using git lfs migrate import.
But to reduce the size of .git I think one needs to modify also the git-history (to make it look like it has only been a git lfs file).
I image this potentially can reduce the size of .git from 278 MB to something close to 60 MB.

But is it worth rewriting the git-history in order to reduce the size of .git? Or is there another way to reduce the size of .git?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions