$ git clone -n https://gitee.com/src-anolis-os/libEMF.git /var/lib/mock/dist-el8-loongarch64-build-59376-32001/root/chroot_tmpdir/scmroot/libEMF Cloning into '/var/lib/mock/dist-el8-loongarch64-build-59376-32001/root/chroot_tmpdir/scmroot/libEMF'... $ git reset --hard origin/a8-LoongArch HEAD is now at 4b1d24a import libEMF-1.0.9-5.el8.src.rpm