$ git clone -n https://gitee.com/src-anolis-os/valgrind.git /var/lib/mock/dist-an23.3-build-451300-73478/root/chroot_tmpdir/scmroot/valgrind Cloning into '/var/lib/mock/dist-an23.3-build-451300-73478/root/chroot_tmpdir/scmroot/valgrind'... $ git fetch origin a23.3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/valgrind * [new branch] a23.3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3af56fb Add LoongArch64/Linux support