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