$ git clone -n https://gitee.com/lxpzlm/libcomps.git /var/lib/mock/dist-an8_8-el9-build-168626-58856/root/chroot_tmpdir/scmroot/libcomps Cloning into '/var/lib/mock/dist-an8_8-el9-build-168626-58856/root/chroot_tmpdir/scmroot/libcomps'... $ git reset --hard origin/a8 HEAD is now at 62125cd update to libcomps-0.1.18-1.el9.src.rpm