$ git clone -n https://github.com/fedora-riscv/compiler-rt.git /var/lib/mock/f38-build-side-42-init-devel-1666575-31547/root/chroot_tmpdir/scmroot/compiler-rt Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1666575-31547/root/chroot_tmpdir/scmroot/compiler-rt'... $ git fetch origin c4dbee48aecb0a3edbdd38595a16517af7e942f0:KOJI_FETCH_HEAD From https://github.com/fedora-riscv/compiler-rt * [new ref] c4dbee48aecb0a3edbdd38595a16517af7e942f0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c4dbee4 Fix build on riscv64.