Question

I have completed the work in release20140116 branch and pushed it to remote.This branch is not yet merged with master branch. My master branch has updates till my last release branch release20140109 . Now, I need to work on another module for which I would like to create another branch for next release release20140123.

From which existing branch should I create this new release20140123 branch ? master or release20140116 ?

The sentence "From which existing branch", I meant :

git checkout master
git branch release20140123

OR

git checkout release20140116
git branch release20140123
Was it helpful?

Solution

If you had a develop branch, my answer would be from develop. If you don't know git-flow yet, I strongly recommend you have a look at it: I find its branching model very effective. Have a look at this brief article for a short introduction.

Anyway, in your current situation, I would personally base it on master as it's supposed to hold the most recent and stable state of the project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top