Greg Heartsfield home

Version Control Diagrams with TikZ

When discussing branching and merging, it can be useful to illustrate common patterns with version control diagrams. A convenient method for making these is with the PGF/TikZ package within LaTeX. The following are some simple examples with source code.

Feature Branch

A simple feature branch, that is merged back into the trunk. Source Code. Feature branch merged into trunk

Feature Branches with Synchronization

A couple of feature branches that are synchronized with trunk, and one is shown being merged back into trunk. Source Code. Feature branch synchronization with trunk

Release Branches

Multiple release branches, with changes merged to trunk. Source Code. Multiple release branches

Validate XHTML Validate CSS