Curtis Free |
Husband · Dad · Geek |
BlogViewing a file as of any Git revision @ 06 Jul 2012When working with code in a Git repository, it is often instructive to view the contents of a file as of a different revision. Git makes this easy:
If you're a Vim user, you can easily view the file in a Vim buffer – and with syntax highlighting.
Assuming that the Vim-recognized filetype specification is
| |
[ CC BY-SA 4.0 ] |