The great sensitivities of the Chandra X-ray Observatory and XMM-Newton are allowing us to explore the X-ray emission from galaxies at moderate to high redshift. By using the stacking method with CXO data, we show that we can detect the ensemble emission from normal elliptical, spiral and irregular galaxies out to redshifts approaching one. The average X-ray luminosity can then be compared with the results of models of the evolution in the numbers of X-ray binaries and can possibly be used to constrain models of star formation. In order to account for the increasing luminosity of spiral galaxies from low to moderate redshift, AGN components may need to be invoked.