$ git clone -n https://gitee.com/src-anolis-os/libXcursor.git /var/lib/mock/dist-an8.7-build-133298-47898/root/chroot_tmpdir/scmroot/libXcursor Cloning into '/var/lib/mock/dist-an8.7-build-133298-47898/root/chroot_tmpdir/scmroot/libXcursor'... $ git reset --hard origin/a8 HEAD is now at 366c35f add doc sub package