$ git clone -n https://gitee.com/src-anolis-os/highway.git /var/lib/mock/dist-an23.3-riscv-build-440726-73130/root/chroot_tmpdir/scmroot/highway Cloning into '/var/lib/mock/dist-an23.3-riscv-build-440726-73130/root/chroot_tmpdir/scmroot/highway'... $ git fetch origin f1e97c65698fb036854206397af260b2b56d2a67:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/highway * [new ref] f1e97c65698fb036854206397af260b2b56d2a67 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1e97c6 adapt for riscv64