$ git clone -n https://gitee.com/src-anolis-os/libXaw.git /var/lib/mock/dist-an8.7-build-133691-48289/root/chroot_tmpdir/scmroot/libXaw Cloning into '/var/lib/mock/dist-an8.7-build-133691-48289/root/chroot_tmpdir/scmroot/libXaw'... $ git reset --hard origin/a8 HEAD is now at 9ed3f6e add doc sub package