$ git clone -n https://gitee.com/gcdota930915/fabtests.git /var/lib/mock/dist-an8.7-build-177943-59111/root/chroot_tmpdir/scmroot/fabtests Cloning into '/var/lib/mock/dist-an8.7-build-177943-59111/root/chroot_tmpdir/scmroot/fabtests'... $ git reset --hard origin/a8-poc HEAD is now at abc0da5 update to fabtests-1.15.1-1.el9.src.rpm