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.

  • @LodraM
    link
    English
    2
    edit-2
    9 days 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
      29 days ago

      thanks so much for your help.

      • @LodraM
        link
        English
        19 days ago

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