$ git clone -n https://gitee.com/mgb01105731/libXtst_3.git /var/lib/mock/dist-an23-build-144312-57687/root/chroot_tmpdir/scmroot/libXtst_3 Cloning into '/var/lib/mock/dist-an23-build-144312-57687/root/chroot_tmpdir/scmroot/libXtst_3'... $ git reset --hard 71d2600a33b7ed4f5d9aa2d627aee7869edff787 HEAD is now at 71d2600 optimise spec file