• Madlaine@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 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”

  • PrettyFlyForAFatGuy@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 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

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 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.

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

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