$ git clone -n https://gitee.com/src-anolis-os/valgrind.git /var/lib/mock/dist-an8.7-build-238007-62522/root/chroot_tmpdir/scmroot/valgrind Cloning into '/var/lib/mock/dist-an8.7-build-238007-62522/root/chroot_tmpdir/scmroot/valgrind'... $ git reset --hard b0587c9225fe9c2c190ec8f0916091aa88c4b5c8 HEAD is now at b0587c9 update to valgrind-3.19.0-3.el9.src.rpm