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