$ git clone -n https://gitee.com/src-anolis-os/libva.git /var/lib/mock/dist-an8.6-build-103861-45598/root/chroot_tmpdir/scmroot/libva Cloning into '/var/lib/mock/dist-an8.6-build-103861-45598/root/chroot_tmpdir/scmroot/libva'... $ git reset --hard origin/a8 HEAD is now at c785764 spec: add doc sub package