3 ms·
I think some people prefer commenting over deleting on version-control - that way, they can see how this code used to look like in the past. It would be nice t
by a_bonobo 11y ago
I think some people prefer commenting over deleting on version-control - that way, they can see how this code used to look like in the past.
It would be nice to have an emacs or vim plugin in which you select a block of code, and it slowly walks back the graph of commits, showing each commit for 5 seconds. That way you could nicely see how your code-block evolved over time... (of course in many cases the code-block itself is useless without context)
- kyllo 11y agoTime-traveling git blame visualization could be rad too.
- ehsanu1 11y agoYou can basically do this in vim with https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive :Gblame to show a git blame sidebar, and P to open the file at that commit.
- harry8 11y agoI achieve the same effect regularly with hgview /path/to/file you can watch how the file changes commit by commit. Surely there's something similar for git? http://www.hgview.org/ http://www.hgview.org/