Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / Magit / Tips


How to compare current commit to some other

  1. Open magit-status with C-x p m.
  2. Soft-reset to the other commit with X s.
  3. See the changes.

In any file with changes, see its diff with C-x V d (magit-file-dispatch).

To return back to the original commit, open magit status with C-x p m and pull with F p.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.