$ git clone -n https://gitee.com/src-anolis-os/gnome-font-viewer.git /var/lib/mock/dist-an23-build-235362-62751/root/chroot_tmpdir/scmroot/gnome-font-viewer Cloning into '/var/lib/mock/dist-an23-build-235362-62751/root/chroot_tmpdir/scmroot/gnome-font-viewer'... $ git reset --hard origin/a23 HEAD is now at 1ac1128 Init package from upstream