It's often often handy to be able to have a gradient covering a text field in photoshop, especially when your wanting to design some text for print products or even web design.
I'll show you how.
Step 1 - Type the text you want to add a gradient using the text tool
Select the gradient tool from the Photoshop toolbar
Create a new layer (CMD/CTRL + SHIFT + N)
Select your two colours - I always prefer to have the darker colour on the bottom
On you new layer - draw a gradient over the text
On the gradient layer right click and select "Create clipping mask"
Once ouve done that you should have a gradient covering your text, as shown below!