conventional-commits / conventionalcommits.org

The conventional commits specification
https://conventionalcommits.org
MIT License
6.73k stars 520 forks source link

Branch naming convention #439

Closed jamesgeddes closed 2 years ago

jamesgeddes commented 2 years ago

Hi there!

Is there a cc standard for naming branches? Could this be incorporated into the guidance?

Thanks!

damianopetrungaro commented 2 years ago

At the moment there is not, and I'm not sure it would make sense to incorporate it into the convention.

Feel free to suggest any idea you do have!

jamesgeddes commented 2 years ago

I think that since ones commit process starts with creating a branch, it is all part of the commit, so would make sense to include it. I'd suggest

type-ticket number-ticket title

RayZ0rr commented 2 years ago

I think branches can have many different names like dev feature temp1 musl extra. It would be really restricting and not really worth it to bring a convention there.