$ git clone -n http://git.inferitos.ru/rpms/xl2tpd.git /var/lib/mock/inferit-9-extras-build-13105-22774/root/chroot_tmpdir/scmroot/xl2tpd Cloning into '/var/lib/mock/inferit-9-extras-build-13105-22774/root/chroot_tmpdir/scmroot/xl2tpd'... $ git fetch origin a4bd0b7:KOJI_FETCH_HEAD fatal: couldn't find remote ref a4bd0b7 $ git reset --hard a4bd0b7 HEAD is now at a4bd0b7 import xl2tpd-1.3.17-1.el9