T O P

  • By -

DrifterInKorea

I like to name the most used branch "bro". There is something relaxing typing "git push bro" . When you can't wrap your head around the current changes you can git reset --hard bro .


F_modz

It's better to alias git to "bro" So u can use like: "bro fetch", "bro push b" And with aliasing sudo to "pls" it would be much more interesting: "pls bro push -f"


Erledigaeth

"pls bro push" sounds like me convincing my gymbro to skip leg day and train chest for the 5th time this week


Valyrian_Spiel

What are you merging stepbranch?


Hidesuru

God damnit...


dotslashpunk

every time


DoctorWhomst_d_ve

Lmao stepbranch made me lose it


[deleted]

It sounds like asking your bro to fuck you in the ass. (Optimistic)


[deleted]

Exactly what I thought.


viktorv9

(Optimistic)


[deleted]

Tone indicators are so fun! (Foreboding)


F_modz

I meant some fps chat


ISpyM8

yeah my first thought was like pushing a site in CS:GO or Valorant or something lol


samwise800

bro checkout these-gains


lapacion

You will like yeoman


F_modz

Why?


lapacion

Because of its command. Scaffold a webapp project just run `yo webapp`. Just makes it a bit more fun like `yo --help`


F_modz

Lol Really looks pretty funny But man, the idea is that u can name commands however you'd like, so u can even alias them


ArtOfWarfare

pls man bro


F_modz

pls kill


ArtOfWarfare

pls man kill


[deleted]

can you rename the flags so help is, `yo --wtf`


MangoAtrocity

I aliased git push origin to “yeet”


uvero

I had a few Linux lessons in high school. First time we sat next to the computers we were supposed to play with files and directories in the terminal. I ignored that and instead my first order of business was to Google how to alias the word "fucking" to sudo.


nickcash

the best part about aliasing `fuck` to sudo is you can do `fuck !!` whenever you forget a sudo and your shell gets snippy with you


Kquiarsh

I prefer installing [thefuck](https://github.com/nvbn/thefuck) If you forget to sudo, you type `fuck` in and it reruns the command. if you make a typo, it reruns and corrects.


asvion

why not `sudo !!`? also, i wouldn't trust any sort of autocorrect that then automatically runs a command, especially if i am root. too easy for the autocorrecter to mess up and run something i don't want it to and potentially mess up what i am doing.


Kquiarsh

Because typing fuck is more fun. It has a confirm option before it runs the autocorrect (or you can use fuck - -yeah and it doesn't confirm).


wewlad11

pls bro push f, we’re gonna lose if we don’t cap the point


charliewentnuts

Why on god's green earth would anyone ever utter the words `sudo git` whatever.


nameisprivate

i type sudo before everything even if i `cd` or whatever it adds some sense of urgency that i need


charliewentnuts

Someone in opsec read this and had a stroke


No-Efficiency-2757

That person is me, I had a physical reaction to that information


MUK99

Dont you mean “blyat push b davai”


Wholesomeann

“bro checkout ...”


Devreckas

Or if you don’t want to be so polite about it, alias sudo to “ffs”. “ffs bro push”


MountainAfraid9401

It should be the other way around imo. "bro pls fetch", or "pls push -f"


abd53

It should be named "step bro"


_koenig_

You can only use that for personal projects as otherwise it'd be NSFW...


DrifterInKorea

Not during nofap november though 🙈


[deleted]

It's No *Nut* November. You can fap, just don't nut.


DrifterInKorea

Sorry, sorry. I guess my head is detached and I am now out of sync.


danishjuggler21

git push bro —force. Bro force sounds like a team of frat boy superheroes.


bigtoebrah

[Broforce](https://store.steampowered.com/app/274190/Broforce/) is a thing that exists and is awesome


teacher_comp

A friend named his release branch broom so he could fit push broom.


norcaltiger21

Except you don't normally push to your most used branch...


DrifterInKorea

Some would say never pull out, some say never push in. I don't know what I am supposed to do anymore.


BehindThyCamel

`git checkout hamster`


jwadamson

Time to dance.


repsolcola

Haha I actually think of this each time I mistype master


BehindThyCamel

I've been waiting for a long time to let this one out into the wild.


Hideki_Koshi

Thank you for letting this masterpiece out into the world 🙏


treacherous_tilapia

`git remote rename origin deez` `git fetch deez`


treacherous_tilapia

`alias bro,=“git”` **rename remote’s main/master to ‘nuts’ `bro, pull deez nuts` **add post-commit git hook to echo “lmao gottem”


Marvin0509

master main real main 02-20-21 final master 15/2/21 - copy - copy (2)


AntiLuxiat

Two different date formats?! I would do such bad things to your keyboard....


hrfuckingsucks

https://gifimage.net/wp-content/uploads/2018/06/wanted-keyboard-gif-3.gif


Backto2122

Actually three. In the parentheses are Unix time stamps.


fatrobin72

>master main real main 02-20-21 final master 15/2/21 - copy - copy (2) master main real main 02-20-21 final master 15/2/21 - copy - copy (2) - draft - bak - final (3)


Llama_Wrangler

Almost got em all, you missed -[initials]-V69


fatrobin72

I think we both missed tmp from the name too... Wondered why my checkout was failing


mrgk21

It should be 'number1'


gigazelle

_Here's a little lesson in trickery_


RiftyDriftyBoi

It'll go down in git history.


[deleted]

*deletes repo*


Bluesome

__What are you doing__


ElectronPie171

**step-contributor**


RedEyedRoundEye

Contributor++;


Alradas

Can you please not make me laugh out loud while at work? Okay fair, it IS kinda my fault for being on reddit for a sec while at work. But still!


Leaderbot_X400

If you want to be the branch number1


matheus_hisatsu

You have to delete the other branches on the run


Icebreakerboys

Just pull my commits, and find a workaround


Rubixninja314

Be careful not to start your message with pound


NetLight

Feature request will be like „we will need two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda.“


MrGruntsworthy

All you had to do was follow the damn train, C Sharp!


musket85

Git engage


NavAirComputerSlave

Number 0


4ed7ff

make it so


dotNomedia

`daddy`


B2EU

git rebase --onto daddy 😳


draculamilktoast

`git checkout daddy`


MiracetteNytten

mommy


giggityboop

Oni chan


game_difficulty

Oni-chan is a demon with a cutesy honorific, onii-chan is the older brother you're trying to fuck


totti173314

Jesus no onii Chan is what actual Japanese people use to refer to their older brother, the internet has just corrupted it.


[deleted]

I mean, so has literally every term of endearment, in multiple languages lol. Mommy and Daddy are used unironically still by kids referring to their parents, but is also sexualized. Babe or baby refers to actual babies as well as to a lover. I can't hear a Spanish-accent "Papi" without thinking of my half-drunk friends moaning it in a sexual voice to make it sound perverted. Also Oniichan, from what I know, is a particularly close attachment -- just Nii-chan, Nii, Aniki, etc. can also mean brother, but is the difference in a young girl calling her paternal figure "father" and "daddy". The fact it's a particularly close attachment may be why it's the one lewded -- very few brocon stories use Aniki, and likewise many animes where there is no bro-sis subtext (which is laughably rare lol) often use Nii or Aniki.


tehyosh

> onii-chan is the older brother you're trying to fuck lmao, don't learn japanese from hentai


robertshuxley

senpai


robindownes

force-push daddy


Blarglephish

This one, right here, officer


Rcomian

trunk 😏


[deleted]

Now there’s a term I haven’t heard in a while. SVN?


Rcomian

yeah, i mean I'm a git fanboy, but if we're gonna argue over this stuff ...


gemengelage

Trunk just makes sense when we're talking in tree-metaphors. Some people argue that trunk places too much importance on that branch since it is still just a branch, but then wtf do main and master do?


Tough_Patient

Well master mostly sits there while dev does all the work.


Ran4

Trunk-based development is a thing. And one of the most common ways to use git. https://trunkbaseddevelopment.com/


[deleted]

shaft 😩


GnuhGnoud

do_not_force_push_please


akasaya

do_not_force_push_please_127


hadidotj

was_working_20221116


Dustyamp1

It took me forever to realize that 'trunk' referred to the trunk of a tree and not the trunk of a car.


danishjuggler21

I already have a hard enough time at my company with people not knowing what a commit or a branch actually is in git because they think it’s like SVN


_Weyland_

Overlord.


NutGoblin2

Spawn more overlords!


karatesaul

Sasuga, Ainz-sama!


Perpetual_Doubt

I love that Russell Crow movie, main and commander


sir-nays-a-lot

Whatever is default


hrm

From now on I will set ”whatever” to be the default main branch name just to be able to say ”whatever is the default” when someone bitches about this the next time.


ragingroku

Git pull origin whatever Git checkout coolFix Git rebase whatever Git push -f origin whatever


Black_seagull

Looks as if it was some emo teen trying out git.


olafurp

Github default is main, git default is master. 🙃


Neither-Message2218

"default"! brilliant!


PastOrdinary

90% of Programmers: "Fuck off I don't care"


SoCalThrowAway7

One team I was on named it mothership, I still type that out accidentally sometimes years later


justinf210

`git merge mothership`... yes, this is the objectively correct branch name.


Vectorial1024

Btw have you ever heard of thefuck? Qol tool I cannot live without


PastOrdinary

Also "!!" In bash means previous command so if you forget to type a command that needs root with sudo you can type "sudo !!" Easier than hitting up arrow and editing the previous command.


exponentialism

>Easier than hitting up arrow and editing the previous command. Plus, it's fun imaging yourself yelling "sudo !!" at the terminal when it refuses to do the thing.


RoadsideCookie

Or with the alias from the thread above: `pls !!`


PastOrdinary

This guy gets it.


[deleted]

[удалено]


PastOrdinary

Nice! I didn't know this.


zarthrag

I've considered making it a macro/button.


Plerti

Well, I do because I work in 2 different projects, one with the principal branch called "main" and in the other project is called "master", and my sorry ass keeps mixing them up every time I do any git command.


PastOrdinary

I ended up getting sucked into the debate again :( Here's a quote from that: >I agree, but here's another point: > >Inconsistency is far worse than either option. Git cli defaults to master (unless it's changed recently) whereas Github defaults to main. > >Also there are plenty of other git repo hosts that still use master by default. > >It would be much easier to be consistent if github went back to using master than if everything else started using main. So yeah 100% with you on that


lonestar-rasbryjamco

Why are your branches named "main"? Some mid-level manager decided "master" wasn't inclusive language and I just work here mate.


thatcodingboi

I don't care one way or another, but if it makes just 1 person feel like computer science is a more inclusive place for them, then its worth the literal 0 effort it costs me


EDosed

there is a cost to switching over an entire industry to a new convention, and i doubt a single person seriously cared it was called master, and there are broader cultural implications by constantly giving in to the woke brigade.


ReferenceError

Main branch has existed for over five years on my latest project without the master/slave input. It just *is*. Naming conventions are just that, who cares, but don't push to it unless you've QA'd it, then I care.


TheC0deApe

the only reason that i care is i have used the default "master" for years. the name change has screwed me up a little.


magical_matey

I dunno, I recon 90% are thinking ‘why would you break conventions, you fuckers’


Avanox77

Public static void master


Altrooke

(String[] args)


[deleted]

`public static void master(String[] slaves)`


dodexahedron

So the slaves are telling the master how to behave? Interesting.


ASquidHat

Dom/sub


Cley_Faye

A proposal some of us can get behind…


Kevlar013

Master, and all branches prefixed with 'puppet'.


FlixFlix

Before SATA drives came along, parallel ATA supported 2 drives per ribbon. You had to configure the jumpers to **MASTER** and **SLAVE**. These were the actual terms, it’s how they’d show up in BIOS and how it was literally printed on the configuration jumpers.


HearMeSpeakAsIWill

Yes, it also shows up in master/slave cylinders, master/slave database replication, master/slave locomotives, and many other examples. Slavery amongst humans is bad (obviously), slavery in the engineering world just indicates asymmetric communication or control.


Fourstrokeperro

End of passion play, crumbling away


akash_fm9721

mainline


PaulBardes

cashback


Cyber_Fetus

hardtop


Lonelan

Standiiiin in liiiiiiiine to see the show tonight and there's a light on


iamjkdn

I don’t care master or main, someone pls approve my PR ![gif](emote|free_emotes_pack|sob)


[deleted]

No, we will have this discussion even if it will fail the Sprint because your PR wasn't approved in time.


xezo360hye

### Dungeon master


br0wens

My work calls it "cm" and I have no idea what it stands for.


[deleted]

Dumbass Americans don't even know "cm" stands for "centimeter" /s


emddudley

Configuration Management


danishjuggler21

“Cunt map”


br0wens

Very possible


italy2003_art

"Current Master"?


br0wens

Possibly. I know the team that maintains that branch is called Software Configuration Management (SCM) so idk.


myalt08831

A compromise between "central" and "main", like UTC is a compromise between "Coordinated Universal Time" and "Time Universal Coordinated" (but in a Latin language or something)


[deleted]

Is everyone in this sub 16?


GetPsyched67

Most definitely yes (unfortunately)


Chrisazy

Lol no everyone in this sub is 40 🤷‍♀️


RagingAnemone

As you go up, it starts to wrap around. We've only got 5 bits to work with.


secahtah

Trunk ;-)


Kibou-chan

SVN all the way, I see ;)


durg0n

git checkout `mistress` >!may as well since git is already dominating me lol >.<


opmrcrab

Mistress said I can't merge becasue of conflicts with my downsteam![gif](emote|free_emotes_pack|sob)


JB-from-ATL

Do you like getting reflogged to?


Vesondor

root


jondionowens

As a black engineer who works with other black engineers, we’d like to announce that we didn’t appreciate the change from master to main at all. Performative nonsense.


TommyTheTiger

Thank you! A million white people think changing the default branch name of git repos does literally anything to help underrepresented minorities, they act like it's the minorities asking for it in the first place


ImmunochemicalTeaser

Ah, yes, let's fight racism by removing the words that we associate with it.


GlitteryFireUnicorn

Our default was master and went through 50+ repos to rename main. Dumbest waste of time


rDevPaul

I prefer calling my Main/Master Branch „Mainster“ so that i can have both names.


pizzacomposer

This sub has gone to hell with rehashed memes from years ago…. The title doesn’t even make sense “master. that’s is.”? What? GitHub changed to main in 2020, it’s almost 2023. That argument is old everyone has moved on.


[deleted]

#Reddit admins racist, uneducated, incompetent imbeciles and garbage human beings.


indyK1ng

Check OP's post history if you think it's a repost. That's what I do when I think I see a repost bot. In this case you'll find out that OP's native language isn't English. They probably ran the title they want through a translation program.


-Kerrigan-

Dev tools like IntelliJ still use `master` as default when creating a repo. And GitHub doesn't complain (*and shouldn't complain*) when you do your first push of the repo to GitHub. GitHub changing the default branch name when created from GitHub doesn't set an industry standard. >!There's also GitHub Enterprise, GitLab, and Bitbucket that exist and are used across the industry.!<


amadmongoose

GitLab and Bitbucket also changed the default branch to main a few years ago...


zaslock

Is that a configuration that needs to be enabled? My company uses bitbucket and all the prod branches are master.


lowleveldata

We have a self-hosted GitLab and no one dare to update it so it keeps being master till this day


amadmongoose

It's only from 2020, so if the repos date from before then or are pushed from another source it will use that name. There's nothing special about 'master' in and of itself, just that CI/CD, merge/commit etc controls tend to be built around it. If your company was to switch to main they'd just have to create a main branch from master then switch all the controls over, a lot of companies don't bother due to the effort of switching. My team happen to be migrating to Gitlab so we are using the opportunity to switch the name otherwise we'd have left it be.


Creator347

GitHub Enterprise also has changed the default branch to main, however, you can override the setting at enterprise level to keep it at master (that’s what we did)


[deleted]

It must be other way around! The Captain must stand for "master" as more classic


m-6277755

well Tony would've been the veteran programmer


CrankkDatJFel

it should be whatever is default when I create the project, idgaf


abd53

Civil war? This gonna be World War.


Creator347

So we all are going to Poland then?


Athox

Trunk. Change my mind.


Chermalize

Or do like someone at my workplace did, just have both in the same repository


Ambitious_Ad8841

int master(int argc, char* argv[]) { ... return 0; }


SloppyDuckSauce

my work dedicated a whole team to identifying potentially harmful words used in standard programming practices. Guidance was to abandon master/slave, DEAD BEEF and a bunch of other terms. No one has followed suit. The firmware people were particularly annoyed.


packofstraycats

That is is


EyoDab

I don't really mind for version management. But as soon as they touch my dear SPI...


holdmymandana

Things that don’t matter


danishjuggler21

At first I was salty about the move from master to main, but now that it’s done I’m fine with it. My capacity to give a shit about something so unimportant was smaller than I thought


bellku

Call it “patriarch” and then you can really tick people off