$ git clone -n https://gitee.com/src-anolis-os/libdnet.git /var/lib/mock/dist-an8.6-build-102475-45598/root/chroot_tmpdir/scmroot/libdnet Cloning into '/var/lib/mock/dist-an8.6-build-102475-45598/root/chroot_tmpdir/scmroot/libdnet'... $ git reset --hard 603161aa9909cf250ca6dbdd437076ee1a5dcf31 HEAD is now at 603161a spec: add doc sub package