85.7 Git Branch Naming

A common convention for naming branches is to begin with a token, then a slash, then a descriptive name, like feat/searchbar. This can be problematic as when URIs are added to the branch the slash becomes ambiguous. Nonetheless, the use of slash is common and supported by some of the git tools.

Common tokens include feat (feature), wip (work in progess), bug, new, test, dev, doc.

For a team the token may be the user’s name, like kayon/addcolour. While this naming scheme can discourage others from contributing to that branch, that is not generally the intention.



Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.