Showing posts with label Git Flow SourceTree. Show all posts
Showing posts with label Git Flow SourceTree. Show all posts

Sunday, December 21, 2014

Creating a Git-Flow branching structure using Source Tree

Git Flow is an add-on package to Git, which provides a set of commands to create and manage the branches. SourceTree supports Git Flow, it provides as icon in the tool bar to create and manage Git Flow.

Let us create a branch structure proposed by Git-flow for one of the repository, I have a repository called GitDocuments, and there is only one branch origin/master, now let us use Source Tree and create a Git-flow based branching model for this repository.

Git-flow working branches

Git Flow is an add-on package to Git, which provides a set of commands to create and manage the branches. By default Got flow creates the following 2 branches

What is Git Flow

Git flow is a branching model proposed by Vincent Driessen, this model aims in standardizing the branching and merging operations for a project. If there is not fixed model then, every project will have its own set of branched which will not be easy for others to understand, hence it is advisable to go for a standard set of branches to make the version control clean and reusable.

Git flow, abstracts the development team from the underlying Git commands, they can work on the repository using the Git-flow commands instead of directly using the underlying Git commands.

Git flow defines the following the following branches for a repository.