$ git clone -n https://gitee.com/src-anolis-os/grub2.git /var/lib/mock/dist-an23.2-build-411783-72783/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23.2-build-411783-72783/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/a23.2 HEAD is now at ca14a28 loongarch: bugfix