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

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

Divya Arulraj June 12, 2020

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

0 votes
Damien June 15, 2020

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
AUG Leaders

Atlassian Community Events