$ git clone -n https://gitee.com/src-anolis-os/php.git /var/lib/mock/dist-an23-build-120338-45966/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an23-build-120338-45966/root/chroot_tmpdir/scmroot/php'... $ git reset --hard origin/a23 HEAD is now at 6ed60a9 update to 8.1.9