Wieder was gelernt

Gitlab CI/CD Shallow Clone Depth

Tags: gitlab
2023-07-25

If there have been too many changes since the last CI/CD-run, you’ll get an error like

fatal: missing blob object ‘…’ error: remote did not send all necessary objects

To fix this, go to Settings -> CI/CD -> General pipelines -> Git strategy. Increase Git shallow clone limit or set it to 0.

(Using git clone instead of git fetch might also help)