$ git clone -n https://src.fedoraproject.org/rpms/thrift.git /var/lib/mock/f42-build-3458229-45512/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/f42-build-3458229-45512/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin 2a9d5eb2dfe9b55c82cd621fbfd136e630bc8014:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/thrift * [new ref] 2a9d5eb2dfe9b55c82cd621fbfd136e630bc8014 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2a9d5eb Fix build with GCC 15