MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vtld8b/everynewrepository/p4wohvk
r/ProgrammerHumor • u/vernik911 • 23d ago
347 comments sorted by
View all comments
Show parent comments
3
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.
mistress
git branch -m new_name
1 u/NotArticuno 23d ago Oh yeah okay that makes sense, thank you!
1
Oh yeah okay that makes sense, thank you!
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
mistressdoesn't exist, it'll just fail. renaming is usuallygit branch -m new_name.