$ git clone -n https://gitee.com/src-anolis-os/gnome-menus.git /var/lib/mock/dist-an23-build-241521-63046/root/chroot_tmpdir/scmroot/gnome-menus Cloning into '/var/lib/mock/dist-an23-build-241521-63046/root/chroot_tmpdir/scmroot/gnome-menus'... $ git reset --hard origin/a23 HEAD is now at b0991b6 Init package from upstream