$ git clone -n http://git.inferitos.ru/rpms/python-redis /var/lib/mock/inferit-9_3-extras-build-34005-64548/root/chroot_tmpdir/scmroot/python-redis Cloning into '/var/lib/mock/inferit-9_3-extras-build-34005-64548/root/chroot_tmpdir/scmroot/python-redis'... $ git fetch origin changed/i9ce/python-redis-4.3.3-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 8095dfaa7bc16c042ffc8b0243842125d78a2e2f to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/python-redis ! [new tag] changed/i9ce/python-redis-4.3.3-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/python-redis-4.3.3-1.el9 HEAD is now at d97c9b8 import python-redis-4.3.3-1.el9