$ git clone -n https://gitee.com/src-anolis-os/lshw.git /var/lib/mock/dist-an8.6-build-105079-45598/root/chroot_tmpdir/scmroot/lshw Cloning into '/var/lib/mock/dist-an8.6-build-105079-45598/root/chroot_tmpdir/scmroot/lshw'... $ git reset --hard origin/a8 HEAD is now at 74744f6 Add doc sub package