$ git clone -n https://gitee.com/src-anolis-os/liblockfile.git /var/lib/mock/dist-an8.7-build-133192-47675/root/chroot_tmpdir/scmroot/liblockfile Cloning into '/var/lib/mock/dist-an8.7-build-133192-47675/root/chroot_tmpdir/scmroot/liblockfile'... $ git reset --hard origin/a8 HEAD is now at d83d2f6 spec: add doc sub package