A cool Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sibshops@lemmy.myserv.one to Programmer Humor@programming.dev · 24 days ago

Master vs main (again)

lemmy.myserv.one

message-square
24
link
fedilink
1

Master vs main (again)

lemmy.myserv.one

Sibshops@lemmy.myserv.one to Programmer Humor@programming.dev · 24 days ago
message-square
24
link
fedilink
alert-triangle
You must log in or register to comment.
  • xxce2AAb@feddit.dk
    link
    fedilink
    arrow-up
    0
    ·
    24 days ago

    I’m… I’m not sure that’s the flex you think it is.

    • Darkcoffee@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      I think it’s mostly a shitpost lol

      • digital_man@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        24 days ago

        White shitpost?

        • Sibshops@lemmy.myserv.oneOP
          link
          fedilink
          arrow-up
          0
          ·
          24 days ago

          It just bothers me that “master” branch is a misnomer. It’s a hold over from CVS/SVN where there was actually a central authoritative branch. I’m not necessary saying the other reasons don’t have merit, as well.

          • LedgeDrop@lemmy.zip
            link
            fedilink
            arrow-up
            0
            ·
            24 days ago

            trunk?

            • DreamButt@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              24 days ago

              I always rename it to “dev.” Hard to have any problems or confusion with that

              • onlinepersona@programming.dev
                link
                fedilink
                arrow-up
                0
                ·
                23 days ago

                dev is confusing it implies it’s not the stable branch, no? Or was the master branch never stable for you?

  • Hoimo@ani.social
    link
    fedilink
    arrow-up
    0
    ·
    24 days ago

    I use master and apprentice. Always two there are, no more, no less.

    • Morose@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      Only a sith deals in absolutes, I will do what I must.

    • Captain_Faraday@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      I think will actually start using this “master” and “apprentice” now. Love it lol

    • rockerface🇺🇦@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      So that’s why Sith were considered evil

    • NigelFrobisher@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      23 days ago

      Why isn’t there a journeyman Sith though?

  • Lena@gregtech.eu
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 days ago

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      I prefer master exactly for that reason

      • dejected_warp_core@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        23 days ago

        ::sigh:: This is the correct answer for a buttplug.io based workflow.

    • pelya@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      • BartyDeCanter@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        24 days ago

        What are you doing step-branch?

  • CodenameDarlen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    24 days ago

    I dislike master because main is shorter and faster to type

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      24 days ago

      doesn’t matter: ma TAB

      • oplkill@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        24 days ago

        Some newbie at project: git checkout -b main_problem_task123

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    23 days ago

    Someone suggested queen and worker. Luffy and then branches named after crew members also seemed nice. Another suggested dom and sub. Leader and cultist were other suggestions. For any StarCraft mod it should be Kerrigan and Raynor, or OverMind and Zerg, or for the later stages Amon and Protoss.

    I love all those suggestions. Keeps things interesting and conveys the same thing.

  • raman_klogius@ani.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 days ago

    Treat branches like Chinese dynasties. The mainline branch is the one having the mandate of heaven.

    • rockerface🇺🇦@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      And they tend to fracture and rejoin seemingly at random, but with certain regularity

  • hotdogcharmer@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    24 days ago

    I think ‘master’ is fine for the master branch. It’s a master copy of the codebase.

    I think ‘main’ is fine for the main branch. It’s the main branch of the repo.

    I use ‘main’ at work cos that’s what my git client defaults to. I use ‘master’ at home because that’s what my git client defaults to. 🤷‍♂️

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.

  • 52 users / day
  • 293 users / week
  • 1.14K users / month
  • 1.26K users / 6 months
  • 0 local subscribers
  • 27.1K subscribers
  • 241 Posts
  • 2.64K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org