Feature Branches

What's a Feature Branch?

Developers branch from the default branch (hereafter called “main”). The branch created is a feature branch. The best feature branches are created to make a discrete, well-defined change.

Optimal

An optimal feature branch:

A sub-optimal feature branch:

That is, don't do this:

As a project drags on, my git commit messages get less and less informative.1


  1. xkcd is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. 

social