$ git clone -n http://git.inferitos.ru/rpms/catch2 /var/lib/mock/inferit-9_5-extras-build-92619-172233/root/chroot_tmpdir/scmroot/catch2 Cloning into '/var/lib/mock/inferit-9_5-extras-build-92619-172233/root/chroot_tmpdir/scmroot/catch2'... $ git fetch origin changed/i9ce/catch2-2.13.10-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object aaa66466c6008affabc517863cbe807940ce00c8 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/catch2 ! [new tag] changed/i9ce/catch2-2.13.10-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/catch2-2.13.10-1.el9 HEAD is now at 6fe5e4f import catch2-2.13.10-1.el9