$ git clone -n https://src.fedoraproject.org/rpms/freecad.git /var/lib/mock/f38-build-side-42-init-devel-985810-29065/root/chroot_tmpdir/scmroot/freecad Cloning into '/var/lib/mock/f38-build-side-42-init-devel-985810-29065/root/chroot_tmpdir/scmroot/freecad'... $ git fetch origin a06ac1b9c919ccd410411218d0df26cf0bc038e0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/freecad * [new ref] a06ac1b9c919ccd410411218d0df26cf0bc038e0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a06ac1b Add gcc 13 header patch.