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