How to reset the axis of mesh rotated in edit mode? I did a lot of looking around and I cannot seem to find a simple method to reset to default rotation the axis of a mesh that got rotated while in edit mode. Clearing rotation in object mode no problem with Alt+R. But how to do that in edit mode? I want the cube to stay as it is in object mode where it's location and rotation is kind of randomized, just so it's perhaps not as easy to align anything to global orientation. So with the cube remaining in it's object mode location and rotation, how can I reset it's local axis back to it's default rotation as in picture 1 below? Picture 2 below is the cube having been rotated in edit mode. Is there a simple method I'm overlooking, or does it involve a bit of a step by step longer process to "reset" the mesh axis in edit mode? I would like to to know how to realign the axis back to it's "default" state in this cube mesh. Thanks for any ideas.
Blender 2.80
Windows 10



Blender_2.80_edit_mode_before_changing_default_rotation_of_cube


Blender_2.80_edit_mode_after_changing_default_rotation_of_cube
You may Snap Faces in object mode which can cause a rotation.  

You may create an Orientation. And Transform the orientation.

https://www.youtube.com/watch?v=Gc8BekthXAQ

There are also add-ons. You will still have to do some work. Probably scripts exist as well.  I can make no statements about 2.8.

Once the axis is reset, you need to select two faces source and destination.  Then you have the freedom to select location in the orientation and rotation along z-axis of local transform orientation.  The requirement of artistic/technical freedom requires some small amount of work from the Blender User.

You can make changes in edit mode, then go to object mode, then enter edit mode and undo those changes with the typical keystrokes of Control-Z.  I suggest you test it because I would use that feature rarely.  I would not perform hundreds of useful things and then undo in edit mode.