$ git clone -n https://gitee.com/src-anolis-os/pcre.git /var/lib/mock/dist-an8-build-60168-33305/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/dist-an8-build-60168-33305/root/chroot_tmpdir/scmroot/pcre'... $ git reset --hard origin/a8 HEAD is now at e64e2c2 update to pcre-8.42-6.el8