Y
Hacker News
new
|
ask
|
show
|
jobs
by
a_e_k
817 days ago
And for those using Magit in Emacs, you can do this by selecting a region of lines and hitting `C-c M-g l`.
https://magit.vc/manual/magit/Commands-for-Buffers-Visiting-...
2 comments
karthink
817 days ago
This feature is built into Emacs, no Magit needed. It's the vc-region-history command, bound to `C-x v h` by default. It works across all version control systems Emacs supports, not just git.
link
agumonkey
817 days ago
There's also git time machine to quickly rollback a buffer in place
link