I need to be able to see the difference between the current working file and the previous commit as I am editing the file. The only history plugins I can find either use pop-ups (which disappear when I start typing) or a dedicated diff-view which takes up too much space on my small monitor.

  • Lodra@programming.devM
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 months ago

    I’m on my phone so I can’t really test these out. But this should give you a few methods for printing the list of files changed.

    Here’s a similar page to show the changes for a specific file. I expect that git blame will be similarly useful.

    A few others that may help you get started as well:

    git —help
    git rev-parse
    git log
    git history