$ git clone -n http://git.inferitos.ru/rpms/gtest /var/lib/mock/inferit-10_0-extras-build-78607-151885/root/chroot_tmpdir/scmroot/gtest Cloning into '/var/lib/mock/inferit-10_0-extras-build-78607-151885/root/chroot_tmpdir/scmroot/gtest'... $ git fetch origin changed/i10ce/gtest-1.14.0-5.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 0ca826fd04e22d3bae6e2d4af01cd88a943204c1 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/gtest ! [new tag] changed/i10ce/gtest-1.14.0-5.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/gtest-1.14.0-5.el10 HEAD is now at 106557c import gtest-1.14.0-5.el10