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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

What is a Branch?

I'm looking at a project and I see a 'Main Branch' and a lot of other branches below it. Are the other branches supposed to end up in the Main Branch at some point? I don't think so because some haven't been updated in a while so I guess those branches are no longer being developed but what does that mean? Can you still use features developed in those old and apparently abandoned branches? So you just download the program for that branch and use that branch that way? So basically if you want to use all the features associated with all the different branches, you basically need to download all the branches and run the program from the branch of interest?

This seems like an awfully messy way to work.

1 answer

It depends on the branching workflow adopted by your company. Some of those branches might be feature branches and is probably not active anymore.

You might want to learn more about Git workflows and figure out what is in use in your project.

https://www.atlassian.com/git/tutorials/comparing-workflows

I've never programmed professionally, but I'm looking at some opensource projects and I'm trying to figure out how collaboration works.

In relation to your statement about feature branches, does that mean that in all likely-hood the feature was developed and then merged into the main branch and is implemented in the main branch? But the code from that branch remains as a reference?

That is right. You can quickly test by creating a pullrequest from that feature branch to master. If the commits are already in master, there wouldn't be anything to merge.

Ok, thank you.

Suggest an answer

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

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

111 views 0 1
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