Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Canonical advice on renaming 'master'

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

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

0 votes
Tyler T Atlassian Team Jul 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you