...

/

The Working development and Feature development Branches

The Working development and Feature development Branches

Learn how the feature development branches combine into a working development branch.

Working development branch

The development branch is the latest compilable code. It’s like a nightly build.

When the development branch is tested stable, we can then fast-forward the production branch into it.

Use git merge with --no-ff

When we merge and fast-forward the stable production branch into a development branch, we may choose to merge with the option --no-ff. The no-ff option stands for “no fast-forward.”

This means that even the stable branch can be fast-forwarded. We still want to create a new commit object. In such a case, when we git log the graph, we can always see that it’s merged with two parent nodes.

This practice allows us to log when and where ...