• oce 🐆@jlai.lu
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    11 months ago

    Or just use a good IDE that makes doing atomic commits pretty natural.

    • pomodoro_longbreak@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      I’ve only tried the VS code hunk stager thing, and found it cumbersome compared to command line, but if you can make a GUI work for you ya go for it. I’ve never found it worth the trouble personally

      • oce 🐆@jlai.lu
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        You should try the JetBrains IDEs, as the other said, you can pick changes line by line graphically, when you commit, when you do a diff with another branch or when you fix conflicts. It’s much more convenient than commands and terminal text editors.