Git time machine
- Download git-timemachine.el and drop it somewhere in your
- If you use
el-get, simply add
git-timemachineto your packages list.
- If you have melpa configured it's available through
Visit a git-controlled file and issue
M-x git-timemachine (or bind
it to a keybinding of your choice). If you just need to toggle the
time machine you can use
Use the following keys to navigate historic version of the file
pVisit previous historic version
nVisit next historic version
wCopy the abbreviated hash of the current historic version
WCopy the full hash of the current historic version
gGoto nth revision
qExit the time machine.
git-timemachine-abbreviation-length (default 12) to your
preferred length for abbreviated commit hashes.
git-timemachine-show-minibuffer-details (default t) to control
whether details of the commit are shown in the minibuffer.
M-x customize [git-timemachine].