$ git clone -n https://gitee.com/src-anolis-os/xcb-util-wm.git /var/lib/mock/dist-an8.7-build-139128-51778/root/chroot_tmpdir/scmroot/xcb-util-wm Cloning into '/var/lib/mock/dist-an8.7-build-139128-51778/root/chroot_tmpdir/scmroot/xcb-util-wm'... $ git reset --hard origin/a8 HEAD is now at 831a7d0 spec: add doc sub package