Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 months ago

git workflow

lemmy.ml

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

git workflow

lemmy.ml

@[email protected] to Programmer [email protected] • 2 months ago
message-square
39
fedilink
  • cross-posted to:
  • [email protected]
  • Scratch
    link
    fedilink
    English
    51•2 months ago

    Be a man.

    ‘git commit -am “changes”’

    • Drew Belloc
      link
      fedilink
      37•2 months ago

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

      • @[email protected]
        link
        fedilink
        24•2 months ago

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

        • magic_lobster_party
          link
          fedilink
          11•2 months ago

          && git push --force

        • Drew Belloc
          link
          fedilink
          12•2 months ago

      • Scratch
        link
        fedilink
        English
        33•2 months 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.

        • @[email protected]
          link
          fedilink
          1•1 month ago

          That’s how you get a Boing

      • @[email protected]
        link
        fedilink
        English
        18•2 months ago

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

        • Drew Belloc
          link
          fedilink
          11•2 months ago

        • synae[he/him]
          link
          fedilink
          English
          5•
          edit-2
          2 months ago

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

        • ѕєχυαℓ ρσℓутσρє
          link
          fedilink
          7•
          edit-2
          2 months ago
          alias {gti,gut}='git commit -am "changes" && git push -f'
          
    • @[email protected]
      link
      fedilink
      6•2 months 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
      • @[email protected]
        link
        fedilink
        5•2 months ago

        I’ve got signing auto enabled though

    • @[email protected]
      link
      fedilink
      5•1 month ago

      git yolo

    • @[email protected]
      link
      fedilink
      2•1 month ago

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

Programmer [email protected]

[email protected]
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
  • 109 users / day
  • 352 users / week
  • 1.03K users / month
  • 3.82K users / 6 months
  • 3 subscribers
  • 1.45K Posts
  • 51.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org