$ git clone -n https://gitee.com/mo-qingliang/highway.git /var/lib/mock/dist-an23-build-441558-73171/root/chroot_tmpdir/scmroot/highway Cloning into '/var/lib/mock/dist-an23-build-441558-73171/root/chroot_tmpdir/scmroot/highway'... $ git fetch origin 28d61e45a10e742d66ee46cab5b7b9ab987edf0c:KOJI_FETCH_HEAD From https://gitee.com/mo-qingliang/highway * [new ref] 28d61e45a10e742d66ee46cab5b7b9ab987edf0c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 28d61e4 fix build error for riscv64