GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Git Branch Naming |
A common convention for naming branches is to begin with a token, then a slash, then descriptive name. This can be problematic as when URIs are created to the branch whereby the slash is ambiguous. Nonetheless, the use of slash is common and supported by some 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. In general this is discouraged as it can lead to a hesitation of others to contribute to that branch as it appears to be owned by Kayon. If that is the intention then that is fine. Otherwise avoid this apparent ownership becoming a blocker to others contributing.