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