• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    7
    ·
    edit-2
    1 year ago

    I don’t understand how we’re all using git and it’s not just some backend utility that we all use a sane wrapper for instead.

    Everytime you want to do anything with git it’s a weird series or arcane nonsense commands and then someone cuts in saying “oh yeah but that will destroy x y and z, you have to use this other arcane nonsense command that also sounds nothing like you’re trying to do” and you sit there having no idea why either of them even kind of accomplish what you want.

    • zalgotext@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      There are tons of wrappers for git, but they all kinda suck. They either don’t let you do something the cli does, so you have to resort to the arcane magicks every now and then anyways. Or they just obfuscate things to the point where you have no idea what it’s doing, making it impossible to know how to fix things if (when) it fucks things up.

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Git is complicated, but then again, it’s a tool with a lot of options. Could it be nicer and less abstract in its use? Sure!

      However, if you compare what goes does, and how it does, to it’s competitors, then git is quite amazing. 5-10 years ago it was all svn, the dark times. Simpler tool and an actual headache to use.

    • flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I think in this case, “depth” was am inferior solution to achieve fast cloning, that they could quickly implement. Sparse checkout (“filter”) is the good solution that only came out recently-ish

    • Socsa@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You are not entirely wrong, but just as some advice I would refrain from displaying fear of the command line in interviews.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Lol if an employer can’t have an intelligent discussion about user friendly interface design I’m happy to not work for them.

        Every interview I’ve ever been in there’s been some moment where I say ‘yeah I don’t remember that specific command, but conceptually you need to do this and that, if you want I can look up the command’ and they always say something along the lines of ‘oh no, yeah, that makes conceptual sense don’t worry about it, this isn’t a memory test’.

        • Socsa@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          For a lot of experienced people, command line tools are user friendly interface design.

          • masterspace@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 year ago

            Command line tools can be, git’s interface is not. There would not be million memes about exiting vim if it was.