$ git clone -n https://gitee.com/src-anolis-os/pykickstart.git /var/lib/mock/dist-an23-build-178185-59117/root/chroot_tmpdir/scmroot/pykickstart Cloning into '/var/lib/mock/dist-an23-build-178185-59117/root/chroot_tmpdir/scmroot/pykickstart'... $ git reset --hard origin/a23 HEAD is now at 20ce597 3.43