$ git clone -n http://git.inferitos.ru/rpms/live555 /var/lib/mock/inferit-10_0-extras-build-85802-157060/root/chroot_tmpdir/scmroot/live555 Cloning into '/var/lib/mock/inferit-10_0-extras-build-85802-157060/root/chroot_tmpdir/scmroot/live555'... $ git fetch origin changed/i10fe/live555-2024.09.20-1.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 60335e05bd6182bf75ef77c30593499bf6e7ae55 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/live555 ! [new tag] changed/i10fe/live555-2024.09.20-1.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10fe/live555-2024.09.20-1.el10 HEAD is now at ffe7abd import live555-2024.09.20-1.el10