Reputation: 10464
I have a git repo backed by a BitBucket instance. In this repo I appear to have three branches:
main
(my local branch I guess)origin/master
origin/main
The master
naming scheme seems to be the standard on our BitBucket instance, so I want to adhere to this and end up having only
master
(my local branch)origin/master
How do I get rid of the origin/main
branch and rename my local main
to master
?
Upvotes: 0
Views: 47