I tried to do an initial push from a local repository to a Gitlab one. The local repository was cloned from an OpenShift one and all the changes are committed and pushed. The Gitlab repository is a fresh one.
git remote add gitlab [email protected]:myorg/myproject.git git push -u gitlab master I get this error
error: object file .git/objects/77/236a32f242ea4e72d54540ac414c798d636d00 is empty fatal: loose object 77236a32f242ea4e72d54540ac414c798d636d00 (stored in .git/objects/77/236a32f242ea4e72d54540ac414c798d636d00) is corrupt remote: fatal: early EOF error: failed to push some refs to '[email protected]:myorg/myproject.git' Any idea how can I fix this?
.git/objects/77/236a32f242ea4e72d54540ac414c798d636d00, backup it just in case