$ git clone -n https://gitee.com/idolsama/pcre.git /var/lib/mock/dist-an23-build-326583-68995/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/dist-an23-build-326583-68995/root/chroot_tmpdir/scmroot/pcre'... $ git fetch origin 7e77952508363e57f01af951ce2faf97b24905ac:KOJI_FETCH_HEAD From https://gitee.com/idolsama/pcre * [new ref] 7e77952508363e57f01af951ce2faf97b24905ac -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7e77952 fix build error for riscv64