At times, I’m curious about the changes that have been made for a particular file on a branch that is not the branch I’m on.
The vim-fugitive plugin provides an easy way to open a buffer for a file on another branch with the
Will open a buffer with the contents of the README.md file from the
You may want to view that file in comparison to the current file. The
:Gdiff command provides us with that functionality: