Updated in Photoshop 21.0 (November 2019) release
To apply a pattern to text layers as a layer effect, do any of the following:
In the Layer Style dialog (Layer > New Fill Layer > Pattern) or the Pattern Fill dialog (Layer > Layer Style > Pattern Overlay), you can set the angle selector at a certain degree or manually type in an angle value to rotate your pattern at the desired angle.
To apply a pattern to pixel layers, do the following:
To apply a gradient to a shape layer as shape fill, do any of the following:
To apply a gradient to text layers or shape layer as a fill layer, do any of the following:
To organize patterns under a new group:
To create nested groups:
Choose Restore Default Patterns from the pop-up menu in the Patterns panel.
Select the pattern you want to rename, and choose Rename Pattern from the Patterns panel menu.
Select the pattern you want to delete, and choose Delete Pattern from the Patterns panel menu.