The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 2 years ago

GitHub Desktop or Git CLI?

programming.dev

message-square
175
fedilink
476

GitHub Desktop or Git CLI?

programming.dev

@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 2 years ago
message-square
175
fedilink
alert-triangle
You must log in or register to comment.
  • @marcos@lemmy.world
    link
    fedilink
    4•2 years ago

    For something with such an horrible interface, it’s amazing how often people that create a new interface for it manage to make it worse.

  • @Benaaasaaas@lemmy.world
    link
    fedilink
    7•2 years ago

    Vim Fugitive

  • @pastelmind@programming.dev
    link
    fedilink
    4•2 years ago

    Fork is much better than GitHub Desktop, you can use it without paying indefinitely

  • @CCF_100@sh.itjust.works
    link
    fedilink
    4•2 years ago

    Well one runs on Linux and the other doesn’t so…

    • zoey
      link
      fedilink
      English
      6•2 years ago

      They both do

      • @CCF_100@sh.itjust.works
        link
        fedilink
        1•2 years ago

        Oh really? Well, I stand corrected then, nevermind

  • @lordnikon@lemmy.world
    link
    fedilink
    English
    7•2 years ago

    SVN?

    • @los_wochos@feddit.de
      link
      fedilink
      1•2 years ago

      CVS?

      • @SpaceNoodle@lemmy.world
        link
        fedilink
        2•2 years ago

        Rite-Aid?

        • @Coldus12@reddthat.com
          link
          fedilink
          2•2 years ago

          ClearCase?

      • @lars@lemmy.sdf.org
        link
        fedilink
        1•2 years ago

        SCCS

      • @xmunk@sh.itjust.works
        link
        fedilink
        1•2 years ago

        Visual Source Safe!

  • @mariusafa@lemmy.sdf.org
    link
    fedilink
    1•
    edit-2
    2 years ago

    Git cli powerfull af only us git cli. Well and gitk

  • meow
    link
    fedilink
    34•
    edit-2
    2 years ago

    I don’t understand git anyway

    • @fckreddit@lemmy.ml
      link
      fedilink
      65•2 years ago

      Well, you learn four commands and hope for the best.

      • @Valmond@lemmy.mindoki.com
        link
        fedilink
        17•2 years ago

        fetch, reset --hard, checkout -b and cherry-pick?

        :-D

        • @xmunk@sh.itjust.works
          link
          fedilink
          12•2 years ago

          Nah, rebase -i, squash, fsck and reflog

          • Rikudou_Sage
            link
            fedilink
            English
            9•
            edit-2
            2 years ago

            Must be an interesting work if you never add, commit or push.

            Edit: How the hell did you get the repo without clone?

            • @xmunk@sh.itjust.works
              link
              fedilink
              9•2 years ago

              Pshaw, real programmers write out the contents of .git by hand.

              (Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)

          • @Valmond@lemmy.mindoki.com
            link
            fedilink
            5•2 years ago

            reflog saved my life once after a stupid misshap.

            All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?

            • @xmunk@sh.itjust.works
              link
              fedilink
              3•2 years ago

              Fsck is File System Check - realistically you should never need to use it.

        • @muix@infosec.pub
          link
          fedilink
          10•
          edit-2
          2 years ago

          More like clone, pull, commit, and push --force

          >:-D

          • @Valmond@lemmy.mindoki.com
            link
            fedilink
            3•2 years ago

            push origin head

            ^^

    • @traches@sh.itjust.works
      link
      fedilink
      English
      51•2 years ago

      Title text: If that doesn’t fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of ‘It’s really pretty simple, just think of branches as…’ and eventually you’ll learn the commands that will fix everything.

      • @popcar2@programming.dev
        link
        fedilink
        9•2 years ago
        • git pull

        • git add *

        • git commit -m “Some stuff”

        • git push

        And occasionally when you mess up

        • git reflog

        • git reset HEAD@{n} (where n is where you wanna roll back to)

        And occasionally if you mess up so hard you give up

        • git reset --hard origin/main

        And there you go. You are now a master at using git. Try not to mess up.

  • @amotio@lemmy.world
    link
    fedilink
    11•2 years ago

    Sublime-Merge

    • @narc0tic_bird@lemm.ee
      link
      fedilink
      4•2 years ago

      I love Sublime Merge. Worth every penny.

  • @muntedcrocodile@lemmy.world
    link
    fedilink
    15•2 years ago

    Vscode plugins?

  • Derpgon
    link
    fedilink
    32•2 years ago

    JetBrains IDEs, I don’t remember the last time I used the CLI.

    • @expr@programming.dev
      link
      fedilink
      -5•2 years ago

      Good luck doing anything remotely complicated/useful in git with an IDE. You get a small fraction of what git can do with a tool that allows absolutely 0 scripting and automation.

      • @calcopiritus@lemmy.world
        link
        fedilink
        13•2 years ago

        IDE git is less powerful than CLI git. However I’m pretty confident that most people use more features of git by using a GUI.

        CLI feature discoverability is pretty awful, you have to go out of your way and type git help to learn new commands.

        With a GUI though, all the buttons are there, you just have to click a new button that you’ve been seeing for a while and the GUI will guide you how to use it.

      • Derpgon
        link
        fedilink
        10•2 years ago

        It sounds like you don’t speak from experience. I have all the automation I need. It supports git hooks on top of IDE-only features like code checking.

        If I have to fire up my CLI for some mass history rewriting (like changing an author for every commit), or when the repo breaks - so be it. But by not using the CLI I save my fingers and sanity, because committing a bunch of files is several click away with little to no room for error.

        I can rebase, patch, drop, rename, merge, revert, cherry pick, and solve conflicts with a click of a button rather than remembering all the commands and whatnot.

      • muddi [he/him]
        link
        fedilink
        English
        2•
        edit-2
        2 years ago

        There are automations. You can even add git hooks iirc. Mostly I find the lint and other code quality integrations nice to have in the IDE, since the inline results allow me to navigate directly to the code

        Diffing is a lot easier too

      • @GBU_28@lemm.ee
        link
        fedilink
        English
        3•2 years ago

        I use the cli, but my main goal is to never have to do anything remotely complicated with git. Does it happen sometimes? Of course.

    • @eluvatar@programming.dev
      link
      fedilink
      3•2 years ago

      This is the way

    • @CodingCarpenter@lemm.ee
      link
      fedilink
      2•2 years ago

      I was looking for this comment. PHP storm and git are like best friends. I very very rarely need to resort to the CLI and generally that’s for hard resetting after I screw something up

    • caseyweederman
      link
      fedilink
      35•2 years ago

      you have forgotten the face of your father

      • @QuazarOmega@lemy.lol
        link
        fedilink
        7•2 years ago

        Linus Torvalds?

  • @pimeys@lemmy.nauk.io
    link
    fedilink
    23•2 years ago

    Magit

    • @akkajdh999@programming.dev
      link
      fedilink
      4•
      edit-2
      6 months ago

      deleted by creator

    • @RePierre@feddit.ro
      link
      fedilink
      5•2 years ago

      I was looking for someone to mention Magit. It just rocks!

    • haruki
      link
      fedilink
      2•2 years ago

      This + org-mode are enough for me to switch to Emacs.

  • @Jesus_666@feddit.de
    link
    fedilink
    13•2 years ago

    Fork.

    • @Jocarnail@lemmy.world
      link
      fedilink
      5•2 years ago

      Fork is great. I just wished there was a linux version

    • Zarlin
      link
      fedilink
      3•2 years ago

      Fork is great!

      • syd
        link
        fedilink
        5•2 years ago

        TIL. Looking great but no Linux support 😐

    • @scottyjoe9@sh.itjust.works
      link
      fedilink
      English
      3•2 years ago

      All hail the fork!

  • @outdated_belated@lemmy.sdf.org
    link
    fedilink
    3•2 years ago

    tig

  • anti-idpol action
    link
    fedilink
    3•2 years ago

    gitui

  • @CmdrKeen@lemmy.today
    link
    fedilink
    6•
    edit-2
    2 years ago

    GitLens?

    GitHub Desktop is literally “Baby’s first git GUI”.

Programmer Humor@programming.dev

!programmer_humor@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 26 users / day
  • 461 users / week
  • 1.07K users / month
  • 4.52K users / 6 months
  • 1 subscriber
  • 1.55K Posts
  • 52K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org