$ git clone -n https://gitee.com/src-anolis-os/gnome-font-viewer /var/lib/mock/dist-an8.7-build-138037-51349/root/chroot_tmpdir/scmroot/gnome-font-viewer Cloning into '/var/lib/mock/dist-an8.7-build-138037-51349/root/chroot_tmpdir/scmroot/gnome-font-viewer'... $ git reset --hard origin/a8 HEAD is now at 4d7d9f7 spec: add doc sub package