I tried pushing my local repo to the remote and noticed that it was taking an ungodly amount of time. So I searched around a little and came across git-sizer
. Running git-sizer
generates the following report
Processing blobs: 1508
Processing trees: 315
Processing commits: 22
Matching commits to trees: 22
Processing annotated tags: 0
Processing references: 1
| Name | Value | Level of concern |
| ---------------------------- | --------- | ------------------------------ |
| Biggest objects | | |
| * Trees | | |
| * Maximum entries [1] | 4.71 k | **** |
| * Blobs | | |
| * Maximum size [2] | 440 MiB | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| | | |
| Biggest checkouts | | |
| * Maximum path length [3] | 142 B | * |
| * Total size of files [4] | 8.55 GiB | ********* |
[1] c51165063bd15a74a3a9f5b03dd40c42f70e004e (7273dece03a5fd401b70c8bf04da67f5f6491d43:maxlife_10m_data.snappy.parquet)
[2] 8e1f3fa7aa5fd70ca4cabc8a3d0f4e20517f050c (1ba7cf0afc90c55b16cc15555ef17d54354c354b:tests/test_output_data/fep_tests/multi_clf_fe_output_train_data.csv/multi_clf_fe_output_train_data.csv)
[3] 17d038c0621352725bfc1e7d3bf38ed4480b69a1 (1ba7cf0afc90c55b16cc15555ef17d54354c354b^{tree})
[4] a959c9e3fe72b7f0a14e1ed188c9130fabc7f526 (3cacec40355ddc12c0fd5d1ba9d1901da47e3843^{tree})
The Biggest checkouts
section mentions a figure of about 8.5 GB which is definitely a lot bigger than my repo size of ~100 KB. How do I resolve this issue?