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