• TrickDacy@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    11 months ago

    I usually use a gui but I know plenty of colleagues who exclusively use cli. I’ve never understood if it’s an ego thing or what but it’s an incredibly popular way to use git

    • Buckshot@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      11 months ago

      I exclusively use CLI, it’s not ego at all, I simply find typing what I want to be quicker than clicking buttons. I’ve written a bunch of aliases to automate my common workflows.

      When I need to help a colleague who’s made a mess of something, I can easily give them the command to fix it rather than finding the right options in their GUI of choice and it’s often because of some broken abstraction in the GUI they got into the mess in the first place.

    • MajorHavoc@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      I do have a huge ego, but I’ll claim it’s a total coincidence that I use CLI git.

      My main reason to use mostly CLI is the better error messages I get when something goes wrong.

      My secondary reason is that my preferred GUI tools for git didn’t used to have support for operations I do often such as ‘cherry-pick’ and ‘rebase’. I think that is mostly solved now, but my habits change slow and I’m used to the CLI.

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Haha fair. My experience though, is that cherry picking is easily done in gui and I’ve honestly never attempted on cli because it only takes me three clicks in Fork

        • MajorHavoc@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Yeah. Cherry pick was the killer feature for CLI back when I was forming habits. Seems like it’s built into most tools now, which is really nice.

    • Mr. Satan@monyet.cc
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      There are things that my GUI of choice lack, so I occasionally type out a command, although I did also bind a couple of commands to GUI buttons, so there’s that.