$ git clone -n https://gitee.com/src-anolis-os/libappstream-glib.git /var/lib/mock/dist-an8.6-build-105512-45598/root/chroot_tmpdir/scmroot/libappstream-glib Cloning into '/var/lib/mock/dist-an8.6-build-105512-45598/root/chroot_tmpdir/scmroot/libappstream-glib'... $ git reset --hard origin/a8 HEAD is now at ea02bc2 spec: add doc sub package