Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Merge conflicts

Merge conflicts

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
56 Posts 42 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G [email protected]

    We use main now

    T This user is from outside of this forum
    T This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #5

    Same here. Though it makes sense as we also cut a “release” branch that aid what goes to production and it’s behind protections against rogue PRs/commits so devs can’t just push there, the process must be followed. “Main” is for devs. “Release” is for prod. “Master” didn’t really jive with that layout so it’s gone.

    eager_eagle@lemmy.worldE 1 Reply Last reply
    2
    • G [email protected]

      We use main now

      eager_eagle@lemmy.worldE This user is from outside of this forum
      eager_eagle@lemmy.worldE This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #6

      I'm glad I'm not part of "we"

      K 1 Reply Last reply
      12
      • M [email protected]

        I mean... Yeah, if it's in production just merge with its data. What sense does it make to even put another branch in prod?

        G This user is from outside of this forum
        G This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #7

        Might just be a workflow thing with a small group or singular dev. Sense is largely irrelevant in the face of “I’ve been doing it this way since 15 years before github came online”

        1 Reply Last reply
        5
        • G [email protected]

          We use main now

          dave@lemmy.nzD This user is from outside of this forum
          dave@lemmy.nzD This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #8

          Can we get a meme about calling it main, effectively master but not granting it the title of master? That's where I thought this one was going.

          1 Reply Last reply
          45
          • F [email protected]
            This post did not contain any content.
            E This user is from outside of this forum
            E This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #9

            I currently have to do a deployment at $DAYJOB and recently, I made a larger change which is completely broken, but also it's slightly less broken than before, I think, so we do actually have that on the main branch. 🫠

            1 Reply Last reply
            9
            • eager_eagle@lemmy.worldE [email protected]

              I'm glad I'm not part of "we"

              K This user is from outside of this forum
              K This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #10

              Why do you care

              eager_eagle@lemmy.worldE 1 Reply Last reply
              14
              • F [email protected]
                This post did not contain any content.
                potoo22@programming.devP This user is from outside of this forum
                potoo22@programming.devP This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #11

                We have a deployed branch. It doesn't get merged into master until it gets reviewed... the technical debt got too big so it never gets reviewed and we just keep branching off deployed

                A M R 3 Replies Last reply
                64
                • M [email protected]

                  I mean... Yeah, if it's in production just merge with its data. What sense does it make to even put another branch in prod?

                  oce@jlai.luO This user is from outside of this forum
                  oce@jlai.luO This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #12

                  It could be a temporary hot fix to pass some issue in production, but could break other things if left longer. So better to revert it after the big issue had passed and take more time to work on a proper solution.

                  1 Reply Last reply
                  2
                  • T [email protected]

                    Same here. Though it makes sense as we also cut a “release” branch that aid what goes to production and it’s behind protections against rogue PRs/commits so devs can’t just push there, the process must be followed. “Main” is for devs. “Release” is for prod. “Master” didn’t really jive with that layout so it’s gone.

                    eager_eagle@lemmy.worldE This user is from outside of this forum
                    eager_eagle@lemmy.worldE This user is from outside of this forum
                    [email protected]
                    wrote on last edited by [email protected]
                    #13

                    similarly, I use master and stable, it helps that PRs default to master, making changes to stable more intentional.

                    1 Reply Last reply
                    4
                    • K [email protected]

                      Why do you care

                      eager_eagle@lemmy.worldE This user is from outside of this forum
                      eager_eagle@lemmy.worldE This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #14

                      Because this whole discussion is fucking stupid. There was no good reason for a change.

                      squeakybeaver@lemmy.blahaj.zoneS trickdacy@lemmy.worldT zarkanian@sh.itjust.worksZ L 4 Replies Last reply
                      14
                      • T [email protected]

                        Oh god please tell me this isn't a real thing

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #15

                        I could. But I'd prefer not to lie

                        1 Reply Last reply
                        27
                        • T [email protected]

                          Oh god please tell me this isn't a real thing

                          S This user is from outside of this forum
                          S This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #16

                          Still in school?

                          L 1 Reply Last reply
                          10
                          • F [email protected]
                            This post did not contain any content.
                            sgibson5150@lemmy.dbzer0.comS This user is from outside of this forum
                            sgibson5150@lemmy.dbzer0.comS This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #17

                            Seals are Good has ruined me. I read all this in that channel's voices."The Twi'lek thinker Thom Ashobbes outlined that the first priority of government..." 😄

                            1 Reply Last reply
                            2
                            • S [email protected]

                              Still in school?

                              L This user is from outside of this forum
                              L This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #18

                              I’ve been a dev at 8 places over 28 years and have never heard of this level of incompetence since git came along. Prior to git, with cvs, svn, tfs, vss - yeah, lots of incompetence because the tools sucked. Git solves all those problems tho!

                              S 1 Reply Last reply
                              19
                              • eager_eagle@lemmy.worldE [email protected]

                                Because this whole discussion is fucking stupid. There was no good reason for a change.

                                squeakybeaver@lemmy.blahaj.zoneS This user is from outside of this forum
                                squeakybeaver@lemmy.blahaj.zoneS This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #19

                                I like the actual look of the word "main" more than I do the word "master". I think it's because it looks like a neat semi-circle

                                zarkanian@sh.itjust.worksZ 1 Reply Last reply
                                10
                                • eager_eagle@lemmy.worldE [email protected]

                                  Because this whole discussion is fucking stupid. There was no good reason for a change.

                                  trickdacy@lemmy.worldT This user is from outside of this forum
                                  trickdacy@lemmy.worldT This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #20

                                  You doth protest too much. Wonder why

                                  L 1 Reply Last reply
                                  12
                                  • F [email protected]
                                    This post did not contain any content.
                                    I This user is from outside of this forum
                                    I This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #21

                                    I'm a purist. The stable and persistent main branch, regardless of what you want to call it, should always and only ever be exactly the same as the code that's currently deployed to the production server. Generally the only exception is for the short duration between a push and deployment under normal circumstances.

                                    But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced, so they do their own thing which is totally better in a million different ways but essentially fucks everybody else over. And I'm not even here to say they aren't smarter than the rest of us and I'm sure that somehow their process is better than what we currently do. But with version control, my anecdotal experience has been that the most important things for running smoothly are: consistency and having everybody on the same page. Process doesn't need to be perfect, maximally efficient, bleeding edge, etc to achieve that.

                                    S zarkanian@sh.itjust.worksZ B Z 4 Replies Last reply
                                    73
                                    • F [email protected]
                                      This post did not contain any content.
                                      P This user is from outside of this forum
                                      P This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #22

                                      Main* branch.

                                      Don't want to sound racist

                                      A 1 Reply Last reply
                                      8
                                      • potoo22@programming.devP [email protected]

                                        We have a deployed branch. It doesn't get merged into master until it gets reviewed... the technical debt got too big so it never gets reviewed and we just keep branching off deployed

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #23

                                        We build off develop and only update master once a year or so. Our company also pays 4 V&V engineers, compared to 9 software devs.

                                        After a release cycle, we update master. Master has never, never been built by itself.

                                        mobotsar@sh.itjust.worksM V 2 Replies Last reply
                                        4
                                        • I [email protected]

                                          I'm a purist. The stable and persistent main branch, regardless of what you want to call it, should always and only ever be exactly the same as the code that's currently deployed to the production server. Generally the only exception is for the short duration between a push and deployment under normal circumstances.

                                          But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced, so they do their own thing which is totally better in a million different ways but essentially fucks everybody else over. And I'm not even here to say they aren't smarter than the rest of us and I'm sure that somehow their process is better than what we currently do. But with version control, my anecdotal experience has been that the most important things for running smoothly are: consistency and having everybody on the same page. Process doesn't need to be perfect, maximally efficient, bleeding edge, etc to achieve that.

                                          S This user is from outside of this forum
                                          S This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #24

                                          But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced

                                          Pretty sure that's me at my job, but I take your approach too.

                                          I just have lousy coworkers who keep a bunch of stale branches open with no real maintenance plan. Thankfully I kind of work in my own bubble and generally avoid that jungle

                                          1 Reply Last reply
                                          6
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups