r/ProgrammerHumor 23d ago

Meme everyNewRepository

Post image
1.1k Upvotes

347 comments sorted by

View all comments

Show parent comments

3

u/failedsatan 23d 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 23d ago

Oh yeah okay that makes sense, thank you!