Sublime Forum

Robust undo/redo stack (or clarification of what can be undone)

#1

I love SublimeMerge so far, but I’m not sure what can be undone/redone (even though the feature is enabled, nothing happens when I use it). Are there any known issues around that, or is there some documentation of what can be undone/redone?

1 Like

#2

SM uses git’s reflog in order to provide Repository > Undo/Redo operations. Means any activity handled by git can be undone or redone, but destructive modifications to the working directory such as deleting files/folders can’t.

3 Likes

#3

Hello! I arrived at this topic because I’m hoping to learn the difference between the Edit > Undo and Repository > Undo features. I think I understand from @deathaxe’s post what Repository > Undo can do, but what sort of actions can be undone by Edit > Undo?

0 Likes

#4

Edit > Undo is for text editing, such as commit messages and in the merge tool. It works the same as in Sublime Text.

2 Likes