Archive

Posts Tagged ‘branch’

Naming Branches

February 26, 2019 Leave a comment

Problem:
I was wondering if there is a convention for naming git branches. Though this really depends on what your organization has, what do you follow when there are no standards?

Solution:
After a quick google I opted to go for:

* feat-short-name
* test-short-name
* fix-short-name
* bug-short-name
* chore-short-name

When naming branches. Then still have

* develop for most of the work and
* master for releases.

Source:
https://github.com/agis/git-style-guide
https://stackoverflow.com/questions/273695/what-are-some-examples-of-commonly-used-practices-for-naming-git-branches

Categories: git Tags: ,