0

While pushing local repo to remote(gitlab), I am getting the below error -

enter image description here

While the local repository size turns out to be very small as below -

enter image description here

Tried a few troubleshooting steps, using lfs, deleting git history. The error does not seem to be resolved. Can anyone suggest where the step is going wrong?

Thanks.

Prachi
  • 402
  • 1
  • 5
  • 10
  • 2
    Does this answer your question? [Github remote push pack size exceeded](https://stackoverflow.com/questions/15125862/github-remote-push-pack-size-exceeded) – sytech Jul 11 '22 at 18:06
  • @sytech - lfs solved. Resolved - find -x . -path ./.git -prune -o -type f -size +5M -exec git lfs track {} + – Prachi Jul 11 '22 at 20:58

1 Answers1

2

Resolved - find -x . -path ./.git -prune -o -type f -size +5M -exec git lfs track {} +

Prachi
  • 402
  • 1
  • 5
  • 10