Content Warning

CONTENT WARNING

You may view NSFW content!

If you are under 18 years old you are not allowed to continue!

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

Boys, don't dev alone or you'll end up with a git log like mine

lemmy.world

video
message-square
44
link
fedilink
118
video

Boys, don't dev alone or you'll end up with a git log like mine

lemmy.world

Gonzako@lemmy.world to Programmer Humor@programming.dev · 1 month ago
message-square
44
link
fedilink
alert-triangle
You must log in or # to comment.
  • con_fig@programming.dev
    link
    fedilink
    arrow-up
    70
    arrow-down
    1
    ·
    1 month ago

    👏 Learn 👏 to 👏 squash 👏 those 👏 commits 👏

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

      Seriously. My colleague does the same shit and it made me so mad until I realised he was on his branch. Then I was like, whatever, as long as you do a proper MR.

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    1 month ago

    You don’t just write your entire project, then make your first commit?

    /j

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      17
      ·
      1 month ago

      I do kinda do that with the initial commit (don’t commit anything until I have something really basic that works). It feels awkward to commit code that does nothing.

      • wpb@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        1 month ago

        That’s all I ever commit

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

    Yeh I use git (git commit --amend)

    • Archr@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      git commit --amend --no-edit and git push --force-with-lease

      No-edit skips opening an editor for the commit message and just reuses the same message.

      Force-with-lease will force push but only if your local is not missing commits that remote has. Ie other people haven’t pushed anything since you last pulled.

    • wpb@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      If you’re comfortable with whatever text editor git uses, give git rebase -i a try.

    • Gonzako@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      1 month ago

      Would this also trigger (git rev-parse) to change? I have CI/CD listening to changes on the master branch

      • Holla@feddit.org
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        1 month ago

        When you have to amend a commit that you have already pushed you have to force push the amendment. That should then trigger the Pipeline

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

          –force-with-lease though, not just force… It’s a good habit to have because then when you are working with other people you won’t fuck everything up.

          • doppydrop@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            This is good advice, I got too used to being a solo dev that once I worked with a larger team… mistakes were made.

      • 𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        Work off the master branch first, don’t push to prod until you’re ready to

        • Gonzako@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          Well, prod is luckily the people I have next room. I made the setup so changes get uploaded quickly. I could do branches and all that stuff?

          Yeah, but i’d rather not work to work and just get it out the door. What my setup is for is that changes get pulled off the master branch and deployed without an apparent interruption of service.

          I see collaboration tools just the same as abstractions, you don’t use them just to use them. They need to solve a problem.

          • 𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            1 month ago

            …do you not use branches?

            • Gonzako@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              1 month ago

              It’s a collaboration tool and i’m not collaborating with anyone so why’d I bother going through the extra bells and whistles?

              • 𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.world
                link
                fedilink
                arrow-up
                7
                arrow-down
                1
                ·
                1 month ago

                VCS’s are organizational tools as much as they are collaboration tools. You should learn it and use it to improve your coding abilities through better management.

      • VibeSurgeon@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Well, there’s your problem.

        Get yourself a nice button/endpoint you can hit to trigger CI/CD that way instead

        • Gonzako@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          You’re saying it’s a problem but i’m not really reading why. While the idea of a massive button to push changes is fun having the master branch be production is a concrete idea i’ve grown fond of, iteration is fast, both at testing and deployment.

  • olenkoVD@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    24
    ·
    1 month ago

    Skill issue

    • bss03@infosec.pub
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      Yep. https://gitlab.com/bss03/halogen-lambda/-/commits/main

      Not an issue, https://gitlab.com/bss03/type-aligned/-/commits/main

      for real devs. https://gitlab.com/bss03/nested/-/commits/main

      • Gonzako@lemmy.worldOP
        link
        fedilink
        arrow-up
        3
        arrow-down
        9
        ·
        1 month ago

        Has your real dev commits gotten you a real dev job? You seem to be looking for a job offer on your mastodon since february and i’m worried for you.

        • bss03@infosec.pub
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          1 month ago

          I’m not sure if any of those commits did, but I worked 2 years doing Haskell backend and jQuery+Bootstrap frontend for Masterword. Before that I did some work for Wire: https://github.com/wireapp/wire-server/commits?author=stephen-smith Before that, I worked at TGCS for nearly a decade.

          But, right now I am still looking for work. I’ve actually been looking since April 2025 when my time at Masterword ended, but I did update my “hire me” posts back in February because my living situation changed, opening up more opportunities. Originally I needed something remote so I could continue to take care of my father (RIP), now relocation is certainly an option.

          If anyone reading this has a position available, or is just curios, my current resume public: https://docs.google.com/document/d/1ORf48b557nK0gYI4h6J0xP7nzOVRoqtOogYsukUMREU

          • vanillama@programming.dev
            link
            fedilink
            arrow-up
            5
            ·
            1 month ago

            Best of luck finding a job, sorry about your father

            • bss03@infosec.pub
              link
              fedilink
              arrow-up
              2
              ·
              1 month ago

              ty

  • Alavi@programming.dev
    link
    fedilink
    arrow-up
    21
    ·
    1 month ago

    A dev on windows? Of course that’s your git log!

  • copacetic@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 month ago

    Looks like a normal branch where someone debugs some GitHub workflow.

  • one_old_coder@piefed.social
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 month ago

    Is it humor because we make fun of you?

    • Gonzako@lemmy.worldOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      1 month ago

      More like laughs out of relatability. Tho I am getting dogpiled for the industry standard practice of using what the company provides.

  • 𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 month ago

    You need to learn refactoring/squashing

  • Azura The Spellkissed@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    12
    ·
    1 month ago

    [Test] around and find out

  • tdgoodman@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 month ago

    I cannot give you a 100% for consistency. You have three inconsistent check in messages: ‘tet’, ‘FueraEstanciaRowRename’, and ‘Revert “test”’. You must be uniformly informative with your messages.

  • leo85811nardo@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    Me when learning GH Actions/CI/CD

  • folekaule@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    I see I’m not the only one fighting with CI/CD pipelines.

  • Luminous5481 "Enemy of the State"@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    nonsense, I would never use windows

  • the_beber@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    Whenever I work on something, I don‘t intend on publishing, I use What the commit.

    • Gonzako@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 month ago

      Oh, nice. i’ll script it on my neovim

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 month ago

    Small incremental changes are good.

    • Evotech@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      Very few people actually practice continuous integration

    • Gonzako@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 month ago

      Test

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        1 month ago

        Fix

        Fix?

        Fixed?

        This one right?

        Why?

        …

        • Gonzako@lemmy.worldOP
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          1 month ago

          That was while I still had a soul

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: !programmer_humor@programming.dev

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.

  • 523 users / day
  • 2.99K users / week
  • 6.46K users / month
  • 11.1K users / 6 months
  • 1 local subscriber
  • 32.6K subscribers
  • 575 Posts
  • 7K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org