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