Search code examples
gitvimvim-fugitive

Vim:Fugitive:Glog - How to get commits for current file rather than revisions


Currently, if I type :Glog I get the list of revisions for the current file.

If I type :Glog -- I get the list of commits for all files.

What do I need to type to get the list of commits for the current file?


Solution

  • I figured it out. I found it here.

    :Glog -- %