Recently, I've seen several references to the git-timemachine package. It didn't seem that interesting to me so I ignored it. Then I noticed that Bozhidar Batsov is recommending it on Emacs Redux. When Batsov recommends something, it's generally an indication that that something is worth a look.

So I loaded git-timemachine from Melpa and started playing with it. It provides a functionality that, as far as I know, is missing or hard to use in git or magit. When you invoke git-timemachine on a file, you can scroll through all the versions of the file in git. This isn't the commit records but the actual file—you get the ultimate in context.

If you often—or even sometimes—find yourself looking at older version of a file, you should take a look at this package. It's easy to load and try out with ELPA. You don't even need to adjust your .emcas or init.el, just load the package and start using it. If you decide you don't like it, just uninstall it. It's definitely worth a look.

This entry was posted in General and tagged , . Bookmark the permalink.
  • Phil

    I saw that too, and it does what it says on the box, but didn't feel it was terribly useful to me. (Still, it's good to know it's there, if I ever realise I do have a use for it.)

    I'm more likely to want to browse the commit log for a file with C-x v l from where I can check the diff from a commit with d (for the changes to the current file only), or D (for the changes to all affected files); and if I do want to view the complete file from that revision, I can do that with f.