$ git clone -n https://src.fedoraproject.org/rpms/nas.git /var/lib/mock/f40-build-799266-142256/root/chroot_tmpdir/scmroot/nas Cloning into '/var/lib/mock/f40-build-799266-142256/root/chroot_tmpdir/scmroot/nas'... $ git fetch origin bf14d3d0d10f54266fe0b3b1289002831f0c3fdd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nas * [new ref] bf14d3d0d10f54266fe0b3b1289002831f0c3fdd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bf14d3d Adapt pointer types to GCC 14