$ git clone -n https://gitee.com/src-anolis-os/gnome-kiosk.git /var/lib/mock/dist-an23-build-251943-63453/root/chroot_tmpdir/scmroot/gnome-kiosk Cloning into '/var/lib/mock/dist-an23-build-251943-63453/root/chroot_tmpdir/scmroot/gnome-kiosk'... $ git reset --hard origin/a23 HEAD is now at 629e2cc Optimize the spec file