go to preferences> performance> and under history change the history states to whatever number you want :)
When you ctrl-alt-Z you undo changes you made, and right now I can ctr-alt-Z about 15 times. But I know there’s a place in the PS settings where you can adjust the amount of times you can ctrl-alt-Z. But I forgot where that is. Do I make any sense? And if I do… where can I change it?