$ git clone -n https://gitee.com/sevever/grub2_an.git /var/lib/mock/dist-an23.2-build-401782-72376/root/chroot_tmpdir/scmroot/grub2_an Cloning into '/var/lib/mock/dist-an23.2-build-401782-72376/root/chroot_tmpdir/scmroot/grub2_an'... $ git fetch origin 7c4299fb0e0ea7a9a986977ead56afcbd41a4386:KOJI_FETCH_HEAD From https://gitee.com/sevever/grub2_an * [new ref] 7c4299fb0e0ea7a9a986977ead56afcbd41a4386 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c4299f Revert avoiding loongson-specified patches on other arches