Lemmy.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 year ago

GitHub Desktop or Git CLI?

programming.dev

message-square
132
link
fedilink
481

GitHub Desktop or Git CLI?

programming.dev

hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 year ago
message-square
132
link
fedilink
  • fckreddit@lemmy.ml
    link
    fedilink
    arrow-up
    70
    ·
    1 year ago

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

    • Valmond@lemmy.mindoki.com
      link
      fedilink
      arrow-up
      17
      ·
      1 year ago

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

      :-D

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

        Nah, rebase -i, squash, fsck and reflog

        • Rikudou_Sage@lemmings.world
          link
          fedilink
          English
          arrow-up
          11
          ·
          edit-2
          1 year 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
            arrow-up
            11
            ·
            1 year 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)

            • overcast5348@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              1 year ago

              I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.

        • Valmond@lemmy.mindoki.com
          link
          fedilink
          arrow-up
          5
          ·
          1 year 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
            arrow-up
            4
            ·
            1 year ago

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

      • muix@infosec.pub
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        1 year ago

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

        >:-D

        • Valmond@lemmy.mindoki.com
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          push origin head

          ^^

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

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: [email protected]

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.99K users / day
  • 4.85K users / week
  • 8.3K users / month
  • 17.7K users / 6 months
  • 550 local subscribers
  • 23.4K subscribers
  • 1.42K Posts
  • 52.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: 0.19.11
  • BE: 0.19.11-n.1
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org