Building Enterprise JavaScript Applications
上QQ阅读APP看书,第一时间看更新

Branching models

The workflow we described is an example of a branching model, which is just a term that describes how you structure your branches. As you can imagine, there are many branching models, and most are more complex than the one we've outlined.

For this book, we will follow a branching model put forward by Vincent Driessen in his article A successful Git branching model, but you're free to explore other models and use the one that makes sense to you. The most important thing is that you and your team stick to the model consistently, so everyone on the team knows what is expected of them.

You may have heard Driessen's model described as Git Flow, but gitflow ( https://github.com/nvie/gitflow) is actually a set of Git extensions that provides higher-level operations that follow Driessen's model.

You can find the original post where Driessen proposed this model at  http://nvie.com/posts/a-successful-git-branching-model/.