$ git clone -n https://gitee.com/src-anolis-os/dmidecode.git /mnt/mock/kojid//dist-an23.3-riscv-build-443370-73168/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-443370-73168/root/chroot_tmpdir/scmroot/dmidecode'... $ git fetch origin b4412e84f683d4b0ca9a0de32b03b61bdbe69302:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dmidecode * [new ref] b4412e84f683d4b0ca9a0de32b03b61bdbe69302 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b4412e8 add support for riscv build