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