Trying to move a repo to a new server using git clone --mirror. But when pushing it fails with
remote: fatal: git cat-file: could not get object info
Here my steps:
git clone --mirror oldRepoUrl
cd old cloned repo
git remote add newRepoName newRepoUrl
git push -f --tags newRepoName refs/heads/*:refs/heads/*
The destination is a new empty repo.
Heres the error I get:
remote: System hooks checking refs/heads/master
remote: fatal: git cat-file: could not get object info
remote: fatal: git cat-file: could not get object info
remote: warn: committer emails ["email1@mail.com",...etc multiples] are not found in Github
Could this be due to the committers that are no longer part of the project? Or something else?
Thanks!