$ git clone -n https://gitee.com/src-anolis-os/expect.git /var/lib/mock/dist-an8.7-build-137263-50601/root/chroot_tmpdir/scmroot/expect Cloning into '/var/lib/mock/dist-an8.7-build-137263-50601/root/chroot_tmpdir/scmroot/expect'... $ git reset --hard origin/a8 HEAD is now at 9c2640a Add doc sub package