$ git clone -n https://gitee.com/src-anolis-os/speex.git /var/lib/mock/dist-an8-poc-build-102162-45595/root/chroot_tmpdir/scmroot/speex Cloning into '/var/lib/mock/dist-an8-poc-build-102162-45595/root/chroot_tmpdir/scmroot/speex'... $ git reset --hard origin/a8-poc HEAD is now at 0dc7d2b add doc sub package