• dQw4w9WgXcQ@lemm.ee
    link
    fedilink
    arrow-up
    29
    ·
    11 months ago

    Intellij: Has a modern GUI for Git with code cleanup, import optimization and visualization of changes.

    Me: Open terminal, ‘git commit -m “wrote code” && git push’. Then realize I forgot to add half of the files, so I make another commit. Then realize I forgot to cleanup bad indents, so I make another commit. Then realize my code doesn’t even build, so I make another commit, etc.

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

      The only Git GUI that I find actually lets me do the basics in a simple way is GitHub desktop. It allows me to quickly see a diff of the changes, select a few lines or a chunk or all the file, it manages stashes and conflicts for me which is like 98% of my usage. Otherwise I use gitui or the git cli for anything more complex than committing and switching/merging branches.

      • kdm@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        11 months ago

        I’ve started using LazyGit recently and I love it. It runs in CLI and essentially just maps the git commands to keyboard shortcuts. Really easy to use and learn, definitely increased my productivity