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

When creating a branch, how to default a "branch type" to a "branch from"?

Edited

Trying to see if there is any option to tie a "branch type" to a "branch from".

For example:

If I select "branch type" as "Hotfix", I want the "branch from" to allow only "master".

Is this possible?

1 answer

I personally suggest using something like git-flow or one of the many other derivatives out there. These days any new project I start, my second thing I do after my initial commit is to initialise the repo as a gitflow repo and then I just need to start a new feature, hot fix or release branch using the the gitflow commands.

You can read more about gitflow here: https://nvie.com/posts/a-successful-git-branching-model/

Suggest an answer

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

GitHub Script with GitHub Actions Automating Workflows

Hello folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...

135 views 1 2
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