$ git clone -n https://gitee.com/src-anolis-os/valgrind.git /var/lib/mock/dist-an8.7-build-133915-48499/root/chroot_tmpdir/scmroot/valgrind Cloning into '/var/lib/mock/dist-an8.7-build-133915-48499/root/chroot_tmpdir/scmroot/valgrind'... $ git reset --hard origin/a8-LoongArch HEAD is now at 7321802 update to valgrind-3.16.0-4.el8.src.rpm