$ git clone -n http://git.inferitos.ru/rpms/pngquant.git /var/lib/mock/inferit-9_3-extras-build-30528-56893/root/chroot_tmpdir/scmroot/pngquant Cloning into '/var/lib/mock/inferit-9_3-extras-build-30528-56893/root/chroot_tmpdir/scmroot/pngquant'... $ git fetch origin 43e0566:KOJI_FETCH_HEAD fatal: couldn't find remote ref 43e0566 $ git reset --hard 43e0566 HEAD is now at 43e0566 import pngquant-2.17.0-2.el9