Method to delete commits for reducing repository size

后端 未结 2 1843
名媛妹妹
名媛妹妹 2021-01-25 05:55

I am using a git repository to deliver .jar files to a client. If I don\'t delete the old commits, the repository size gets bigger and eventually, Bitbucket disable

2条回答
  •  礼貌的吻别
    2021-01-25 06:18

    A better answer imho is: don't use a git repo to deliver build artefacts.

    Bitbucket and other git services are not file hosting services. Git is designed for tracking changes to source code, so using it to distribute large binary files is not going to end well.

    There are many other options available for sharing large binary files, e.g. Google Drive.

提交回复
热议问题