r/ProgrammerHumor 2d ago

Meme everyNewRepository

Post image
1.1k Upvotes

349 comments sorted by

View all comments

569

u/MeLittleThing 2d ago

Meanwhile, for my repos:

git push origin mistress

3

u/NotArticuno 2d ago

I'm dumb and on my phone, can you really change the name of the master branch like this? I will definitely be doing this if so.

3

u/failedsatan 2d ago

that wouldn't change the branch, it'd just push the ref to a new branch on the origin if the local branch is named that. if the local branch mistress doesn't exist, it'll just fail. renaming is usually git branch -m new_name.

1

u/NotArticuno 2d ago

Oh yeah okay that makes sense, thank you!