Is it possible to slim a .git repository without rewriting history?

后端 未结 4 641
礼貌的吻别
礼貌的吻别 2020-12-15 05:24

We have a number of git repositories which have grown to an unmanageable size due to the historical inclusion of binary test files and java .jar fi

4条回答
  •  伪装坚强ぢ
    2020-12-15 05:48

    I don't know of a solution which would avoid rewriting the history.

    In that case, cleaning the rpeo with a tool like BFG- repo cleaner is the easiest solution (easier that git filter-branch).

提交回复
热议问题