$ git clone -n http://git.inferitos.ru/rpms/ephemeral-port-reserve /var/lib/mock/inferit-10_0-extras-build-86641-158293/root/chroot_tmpdir/scmroot/ephemeral-port-reserve Cloning into '/var/lib/mock/inferit-10_0-extras-build-86641-158293/root/chroot_tmpdir/scmroot/ephemeral-port-reserve'... $ git fetch origin changed/i10ce/ephemeral-port-reserve-1.1.4-10.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 647dac9f23151688606f6228770f1d931693d1a7 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/ephemeral-port-reserve ! [new tag] changed/i10ce/ephemeral-port-reserve-1.1.4-10.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/ephemeral-port-reserve-1.1.4-10.el10 HEAD is now at d9b3be9 import ephemeral-port-reserve-1.1.4-10.el10