UmU
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago

git workflow

lemmy.ml

message-square
39
fedilink
  • cross-posted to:
  • [email protected]
562

git workflow

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago
message-square
39
fedilink
  • cross-posted to:
  • [email protected]
  • Scratch@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    52
    ·
    1 month ago

    Be a man.

    ‘git commit -am “changes”’

    • Drew Belloc@programming.dev
      link
      fedilink
      arrow-up
      37
      ·
      1 month ago

      At this point just create a script or alias called “fuckthis” that does that and then push direct to main

      • Scratch@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        35
        ·
        1 month ago

        PR reviews take the most time, eliminating those saved us loads of time.

        QA were also bogging us down, axed them too. Now we’re flying.

        The Social Security Infrastructure rebuild should be done in a matter of weeks! At least that’s what Copilot says.

        • Vittelius@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          29 days ago

          That’s how you get a Boing

      • jol@discuss.tchncs.de
        link
        fedilink
        arrow-up
        26
        ·
        1 month ago

        I have auto save on. A cron job running every minute with just git add . && git commit - m “wip”

        • Drew Belloc@programming.dev
          link
          fedilink
          arrow-up
          12
          ·
          1 month ago

        • magic_lobster_party@fedia.io
          link
          fedilink
          arrow-up
          11
          ·
          1 month ago

          && git push --force

      • DannyBoy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        19
        ·
        1 month ago

        Have the name of the alias be “gti” or “gut”

        • Drew Belloc@programming.dev
          link
          fedilink
          arrow-up
          10
          ·
          1 month ago

        • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          30 days ago
          alias {gti,gut}='git commit -am "changes" && git push -f'
          
        • synae[he/him]@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          30 days ago

          I have about a dozen aliases of various mistypings of “git”. Somehow I still hit unaliased typo once in a while

    • KindaABigDyl@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      1 month ago

      And any project worth their salt will reject it for two reasons:

      1. Unclear message/changes (potentially too many changes at once)
      2. Not signed
      • wise_pancake@lemmy.ca
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        I’ve got signing auto enabled though

    • Birch@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      30 days ago

      git yolo

    • JiminaMann@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      30 days ago

      Doesn’t work for me idk why, it’ll ignore the message, and i have to commit again before i can push

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.

  • 672 users / day
  • 4.52K users / week
  • 8.94K users / month
  • 17.3K users / 6 months
  • 2 local subscribers
  • 23.1K subscribers
  • 1.25K Posts
  • 39.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org