Git Timemachineλ︎
Space gt opens the Git Timemachine transient state.
Easily navigate backwards and forwards through the commit history of a file under Git Version Control. The buffer shows the file as it was in each change you select.
Positioning the buffer content
Timemachine seems to work best when you have all the text visible in a buffer or you roughly know where the changes are in the file as you move between commits.
Use the following keys to navigate through all the commits for the current file
Keybinding | Description |
---|---|
c | Show the most recent commit for the file |
gg |
Go to nth commit |
pp |
Show previous commit |
nn |
Show next commit |
tt |
Go to revision by selected commit message |
ww |
Copy the abbreviated hash of the current commit |
WW |
Copy the full hash of the current commit |
qq |
Exit Timemachine transient state |
Customise Timemachineλ︎
SPC SPC customize [git-timemachine]
.