$ git clone -n http://git.inferitos.ru/rpms/bcmatroska2 /var/lib/mock/inferit-9_4-extras-build-52172-100071/root/chroot_tmpdir/scmroot/bcmatroska2 Cloning into '/var/lib/mock/inferit-9_4-extras-build-52172-100071/root/chroot_tmpdir/scmroot/bcmatroska2'... $ git fetch origin changed/i9m/bcmatroska2-5.3.54-1.el9.inferit:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 561cca36f728f97ec82c1f464dee28f1fb59f2be to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/bcmatroska2 ! [new tag] changed/i9m/bcmatroska2-5.3.54-1.el9.inferit -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9m/bcmatroska2-5.3.54-1.el9.inferit HEAD is now at 8a2f8cd import bcmatroska2-5.3.54-1.el9.inferit