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