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