$ git clone -n https://src.fedoraproject.org/rpms/gambas3.git /var/lib/mock/f41-build-854140-166804/root/chroot_tmpdir/scmroot/gambas3 Cloning into '/var/lib/mock/f41-build-854140-166804/root/chroot_tmpdir/scmroot/gambas3'... $ git fetch origin b1a5ed313fc1367bb501dbf74adf865f1d77d32c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gambas3 * [new ref] b1a5ed313fc1367bb501dbf74adf865f1d77d32c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b1a5ed3 apply hack to build with c++20