Skip to content

Special Request: can you perhaps clean this repo history..? #5

@ZaLiTHkA

Description

@ZaLiTHkA

I cloned this repo the other day to look at things more closely, and the size of the download surprised me somewhat... Git downloaded 25MB-odd of objects, yet the actual project files after the download (excluding .git folder) was only 867KB.

digging a bit deeper, the merge from vineethtrv/marketing into master, and specifically the video files it contains, seems to be where this size jump is coming from.

as a test, I just performed the following steps:

  • created temp branch at commit f9388f4
  • cherry picked commit f51b9ae
  • hard reset master to the new commit (which removes the vineethtrv/marketing branch entirely)
  • execute git reflog expire --all --expire=now
  • execute git gc --prune=now --aggressive

after this, the entire repository dropped to only 1.44MB, .git folder included...


@vineethtrv, is there any chance you might be able to do this on your side and force push to remove these objects from GitHub as well? I'm just thinking it might be better to catch this now, before the project grows too much further and this becomes more difficult to do. 🤔

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