This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
How can I rename my main branch?
Post Body

I want to rename the main branch in GitHub from Main back to Master?

How can I do that?

Edit: I didn't know that this change affected my local branch too. So I would appreciate if you teach me how to change that as well.

Thank you

Author
Account Strength
90%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,417
Link Karma
757
Comment Karma
2,509
Profile updated: 37 minutes ago
Posts updated: 1 day ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago