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
    
    • OracOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      thanks so much for your help.

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

        My pleasure. Thanks for posting! And feel free to ask more questions as you tackle this one.