I’m wondering if you use any (graphical) clients to manage your Git, and if so, what client you use.

I myself have to use git professionally across all 3 major OS-es, and I currently use Sourcetree on Windows and macOS, and the Git tools built-in into IntelliJ on Linux.

Have given MaGit a try, but just couldn’t get all the shortcuts to stick in my mind.

Interested to hear your experiences!

  • killingspark@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    1 month ago

    The only thing I’m missing in the CLI is easy picking and choosing which change to include in a commit on a more fine grained basis than files. I sometimes have a changed file and the changes fix different issues and thus should get separate commits but with the CLI I can’t easily select the changes to be staged. At least not AFAIK.

    Edit: Richards law of posting something wrong to get fast correct answers seems to stay true, even on lemmy. Thanks for teaching me something today <3

    • The2b@lemmy.vg
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 month ago

      You can via git add -i foo.bar

      I believe the only issue with that is that it can only go by hunks. If your changes are sufficiently far away, you can select them separately. But if you change one function that should be in patch a, and another function 5 lines down that should be in patch b, I think you’re screwed

      That being said, this is all from memory, so don’t quote me on it

      • Corngood@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        In interactive add mode you can use s to split a hunk, and e to edit it. That’s usually enough for me to split things up.