Effects of Supernova Feedback on the Formation of Galaxies