• Madlaine@feddit.de
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    10 months ago

    Why is the wrong version always the one that is posted.

    The (in my eyes) correct (and iirc original) version is:

    • Git commit
    • Git push
    • Get out*

    *as someone pointed out (and I remember it as well, but thought I rembered it wrong and corrected it, shame on me in this context) the last point may be originally “git out”

  • Marxism-Fennekinism@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 months ago

    Counterpoint: Virtualized environment/remote desktop. The real computer is in a data center hundreds of kilometers away with world class fire suppression systems.

    Counter counterpoint: If you’re virtualized you might be working from home, in which case, that’s rough, hope they manage to restore your house.

    • RollForInitiative@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      With a laggy desktop experience i also can’t really configure how i want? No thank you. It’s bad enough i have to use Windows for software development instead of letting me install Linux

      • Marxism-Fennekinism@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        10 months ago

        I like it because I don’t have any of the company’s shit on my own machine. I absolutely don’t trust them not to spy on my personal computer use if they had access to it. With remote desktop I close it at the end of the work say and it has no more access to my computer than I have access to their critical systems.

        In my case, their shit that we’re required to use don’t even support Linux so if it wasn’t for virtualized environment I’d had to install Windows on my own machine.

  • soggy_kitty@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    Sorry to be that guy but I don’t think it’s smart to put this anywhere in public, keep this shit somewhere private as a joke

  • barsoap@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    This is a lawsuit waiting to happen. Anyway any of you ever heard of ACID? Why aren’t our undo buffers durable and integrated with version control? Squash and forget the individual keystrokes as soon as an actual commit is made.

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Slight correction. In case of fire:

    Git checkout -b firemyusername Git commit -am=“fire” Git push.

    We don’t want to have conflicts with code versions when going in on a rush, better to create a new branch. We can merge all the conflicts afterwards.

  • PrettyFlyForAFatGuy@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    i read a reddit post years ago where a someone wrote a script that iterates through all the projects in their dev folder, for each project creating a new branch, committing and pushing.

    they then aliased it to “fire” or “panic” or something like that.

    not a bad idea really

    • osmn@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      “I followed the rules, Boss. Not my fault the rules are stupid 🤷‍♂️”

  • Immersive_Matthew@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    10 months ago

    Another reason I just manually backup my project and avoid Git despite all my other developer friends shaming me. One command and I am out of there.