$ git clone -n http://git.inferitos.ru/rpms/gperftools /var/lib/mock/inferit-9_4-aarch64-extras-build-59767-127293/root/chroot_tmpdir/scmroot/gperftools Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-59767-127293/root/chroot_tmpdir/scmroot/gperftools'... $ git fetch origin changed/i9ce/gperftools-2.9.1-2.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 5d441c163d9b29c62c288d1ac6e34ea122f5f725 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/gperftools ! [new tag] changed/i9ce/gperftools-2.9.1-2.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/gperftools-2.9.1-2.el9 HEAD is now at b83d281 import gperftools-2.9.1-2.el9