$ git clone -n https://gitee.com/src-anolis-os/pcre2.git /var/lib/mock/dist-an23-build-141362-53403/root/chroot_tmpdir/scmroot/pcre2 Cloning into '/var/lib/mock/dist-an23-build-141362-53403/root/chroot_tmpdir/scmroot/pcre2'... $ git reset --hard origin/a23 HEAD is now at c3d5b95 optimise spec file