$ git clone -n http://git.inferitos.ru/rpms/lirc /var/lib/mock/inferit-10_0-extras-build-86394-157881/root/chroot_tmpdir/scmroot/lirc Cloning into '/var/lib/mock/inferit-10_0-extras-build-86394-157881/root/chroot_tmpdir/scmroot/lirc'... $ git fetch origin changed/i10fe/lirc-0.10.0-44.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object b280a25411b6cd0a8a357fee6029b530f1d9310d to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/lirc ! [new tag] changed/i10fe/lirc-0.10.0-44.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10fe/lirc-0.10.0-44.el10 HEAD is now at 2444a9a Update to 0.10.0-44