$ git clone -n https://gitee.com/src-anolis-os/star.git /mnt/mock/kojid//dist-an23.3-riscv-build-439483-73130/root/chroot_tmpdir/scmroot/star Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439483-73130/root/chroot_tmpdir/scmroot/star'... $ git fetch origin 9058a1a1d35dcb0dff016f3beecd0de436271fad:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/star * [new ref] 9058a1a1d35dcb0dff016f3beecd0de436271fad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9058a1a adapt for riscv64