Code Versioning - Branch (Line of Development)


The word branch means a line of development. The first one is generally call the master.

It's the tree path from the first commit path to a leaf commit (called a head in git).

A branch is a sort of sandbox.

A branch can be made for:

  • new features
  • to follow the version of a system. Example: prod for the production system
  • to follow a step in the development process. Example: dev for a non stable code base.
  • to follow the truth. Example: master.

Why a branch ?

  • Less conflict when merging
  • Allow dev work in parallel

Powered by ComboStrap