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