The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Canonical advice on renaming 'master'

lasmit
Contributor
July 18, 2020

Like many developers I'm looking to rename my `master` branches to `main`.

However, I am not a git expert and it feels like quite a risky thing to do.

It would be good if someone at Atlassian could offer canonical, Bitbucket specific advice for this. Apologies if they have and I didn't find it.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
lasmit
Contributor
July 19, 2020

This seems like a good place to start https://kiloloco.com/articles/003-From-Master-To-Main 

0 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2020

Hi @lasmit , here is an article on the Community with links to resources regarding the change you'd like to make: https://community.atlassian.com/t5/Bitbucket-articles/Moving-away-from-Master-as-the-default-name-for-Branches-in-Git/ba-p/1414060

TAGS
AUG Leaders

Atlassian Community Events