$ git clone -n http://git.inferitos.ru/rpms/python-flit-core /var/lib/mock/inferit-9-epel-build-29817-52358/root/chroot_tmpdir/scmroot/python-flit-core Cloning into '/var/lib/mock/inferit-9-epel-build-29817-52358/root/chroot_tmpdir/scmroot/python-flit-core'... $ git fetch origin changed/i9cf/python-flit-core-3.9.0-4.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 3dac32bff1b13c7bf5d1cb4876fa7f0fdfbd4323 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/python-flit-core ! [new tag] changed/i9cf/python-flit-core-3.9.0-4.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9cf/python-flit-core-3.9.0-4.el9 HEAD is now at 76f6647 import python-flit-core-3.9.0-4.el9