Version Control

Semantic Versioning

It is an industry convention.

Major.Minor.Patch: 1.2.3

  • Major: breaking changes of API.
  • Minor: Changing function level, like adding some functionality and the function signature.
  • Patch: Bug Fixing.

Flow

Two types of flow: Git Flow and GitHub Flow.

Git Flow

It has several branches lives infinitely.

GitHub Flow

It has a main branch that lives infinitely, and every branch should merge with it.