$ git clone -n http://git.inferitos.ru/rpms/libnfs /var/lib/mock/inferit-10_0-extras-build-84882-156189/root/chroot_tmpdir/scmroot/libnfs Cloning into '/var/lib/mock/inferit-10_0-extras-build-84882-156189/root/chroot_tmpdir/scmroot/libnfs'... $ git fetch origin changed/i10ce/libnfs-5.0.3-2.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object ae7315f4996836c9ba6ab9cd919f685933c0233b to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/libnfs ! [new tag] changed/i10ce/libnfs-5.0.3-2.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/libnfs-5.0.3-2.el10 HEAD is now at 2c8a814 import libnfs-5.0.3-2.el10