$ git clone -n https://gitee.com/src-anolis-os/pcre.git /var/lib/mock/dist-an8.9-build-365620-71163/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/dist-an8.9-build-365620-71163/root/chroot_tmpdir/scmroot/pcre'... $ git reset --hard d901cb73e164de8e7c6adcfdfde0364be7746e5a HEAD is now at d901cb7 add sw