Serious problem , can't undo the work

In dev mode , can’t do undo of previous work , but can undo in current editor . Like I can’t undo yesterdays work

Just revert to yesterday.