Diff of current and previous version using vim-fugitive
问题 I know that :Glog will populate the quickfix list with all the versions of the file in the current buffer and that I can hit <enter> on these to see the file at that particular version, but is there an easy way to see the diff of a particular version with the previous version (to easily see what has changed)? EDIT: What I'm after is seeing each of these changes in a vertical diff in vim: git log -p -- path/to/file.txt . 回答1: This is what I use: :Gdiff [revision] See :help Gdiff for other