I am trying to clean up openshift git repo. objects folder in .git seems huge. I can ssh into application and execute the commands
git reflog expire --expire=now --all
git gc --prune=now --aggressive
server is getting restarted while the command is being executed and the connection gets disconnected. The total size of objects folder is more than 3 GB for an application that should be less than 100 MB. please advice. Thanks.