Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What's the different between the "main branch" and the others, non-main branches?

Gianluigi Zanettini June 15, 2017

As per title, I'd like to understand how the "main branch" is different from the other.

 

Thanks!

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 15, 2017

Hi Gianluigi! The difference is that you use the main branch for the main line of development and use other branches to diverge from it and continue working in your new features without messing with that main line. Git encourages workflows that branch and merge often, even multiple times in a day. 

For an extended explanation about how branching works, I'd recommend you reading Basic Branching and Merging

Hope this helps :)

Ana

Gianluigi Zanettini June 16, 2017

That's good marketing talk, but still doesn't explain what's actually different between the branch flagged as "main branch" and any other branches.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events