异常长的时间推回购

时间:2018-08-08 10:24:29

标签: git

我尝试将本地回购推送到远程站点,并发现这花费了不合理的时间。因此,我进行了一些搜索,发现了git-sizer。运行git-sizer会生成以下报告

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})

Biggest checkouts部分提到了大约8.5 GB的数字,这绝对比我的仓库大小(约100 KB)大得多。我该如何解决这个问题?

0 个答案:

没有答案