$ git clone -n https://src.fedoraproject.org/rpms/gdal.git /var/lib/mock/f41-build-side-1-2805229-32863/root/chroot_tmpdir/scmroot/gdal Cloning into '/var/lib/mock/f41-build-side-1-2805229-32863/root/chroot_tmpdir/scmroot/gdal'... $ git fetch origin 71ad4bc0e5831c7bcb0328097d4428bb47329efc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gdal * [new ref] 71ad4bc0e5831c7bcb0328097d4428bb47329efc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71ad4bc Rebuild (proj)